-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
HI Team
is it expected that when I destroy configuration for access port it does shutdown port
I am doing this on cx9300
this is part of configuraiton to be destroyed
switchport configuration
resource "iosxe_interface_switchport" "te1_0_47_SWX3RB" {
provider = iosxe.SWX3RB
type = "TenGigabitEthernet"
name = "1/0/47"
mode_access = true
access_vlan = iosxe_vlan.vlan_993_SWX3RB.vlan_id
}
interface configuration
resource "iosxe_interface_ethernet" "te1_0_47_SWX3RB" {
provider = iosxe.SWX3RB
type = "TenGigabitEthernet"
name = "1/0/47"
description = "TER_TEST_CONFIG"
shutdown = false
source_template = [ {
template_name = iosxe_template.Access_Standard_Port_Config_SWX3RB.template_name
} ]
}
create interface template
resource "iosxe_template" "Access_Standard_Port_Config_SWX3RB" {
provider = iosxe.SWX3RB
template_name = "TER_ACC_STANDARD_PORT_CONFIG"
switchport_nonegotiate = true
switchport_mode_access = true
switchport_port_security = true
switchport_port_security_violation_restrict = true
switchport_port_security_aging_time = 5
switchport_port_security_aging_type_inactivity = true
load_interval = 30
storm_control_broadcast_level_pps_threshold = "1k"
storm_control_multicast_level_pps_threshold = "50k"
storm_control_action_trap = true
spanning_tree_portfast = true
spanning_tree_bpduguard_enable = true
ip_dhcp_snooping_limit_rate = 32
}
Metadata
Metadata
Assignees
Labels
No labels