
OPERATIONAL DEFECT DATABASE
...

...
Changing allowed vlans on a trunking interface will not get reflected in show running config. But will get reflected in show interface ethernet x/x switchport command. N9K-C92348GC-X-2(config-if)# switchport trunk allowed vlan 98,102,110-111 N9K-C92348GC-X-2(config-if)# show interface ethernet 1/49 switchport Name: Ethernet1/49 Switchport: Enabled Switchport Monitor: Not enabled Switchport Isolated : Not enabled Switchport Block Multicast: Not enabled Switchport Block Unicast: Not enabled Operational Mode: trunk Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Allowed: 98,102,110-111 Voice VLAN: none Extended Trust State : not trusted [COS = 0] Administrative private-vlan primary host-association: none Administrative private-vlan secondary host-association: none Administrative private-vlan primary mapping: none Administrative private-vlan secondary mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Virtual Ethernet Bridge Forwarding : Disabled Command: show running-config interface Ethernet1/49 !Running configuration last done at: Sun Mar 7 19:41:04 2021 !Time: Sun Mar 7 19:41:13 2021 version 10.1(1) Bios:version 05.40 interface Ethernet1/49 switchport switchport mode trunk no shutdown
Changing allowed vlans from default to specific, will not show change on running config. But, the configuration will take effect.
Use "show interface ethernet x/x switchport command" to verify allowed vlans on an interface instead of show run.
Changing allowed vlans on a trunking interface will not get reflected in show running config. But will get reflected in show interface ethernet x/x switchport command. Show run interface ethernet x/x all, does not reflect the change either. Only interfaces showing trunking on the "show interface ethernet X/X switchport" command will actually allow traffic through the interface. If vlan is removed not STP state will be created on that interface even if show run, shows all vlans trunking. N9K-C92348GC-X-2(config-if)# switchport trunk allowed vlan remove 102 N9K-C92348GC-X-2(config-if)# show spanning-tree vlan 102 Spanning tree instance(s) for vlan does not exist. N9K-C92348GC-X-2(config-if)# switchport trunk allowed vlan 98,102,110-111 N9K-C92348GC-X-2(config-if)# show interface ethernet 1/49 switchport Name: Ethernet1/49 Switchport: Enabled Switchport Monitor: Not enabled Switchport Isolated : Not enabled Switchport Block Multicast: Not enabled Switchport Block Unicast: Not enabled Operational Mode: trunk Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Trunking VLANs Allowed: 98,102,110-111 Voice VLAN: none Extended Trust State : not trusted [COS = 0] Administrative private-vlan primary host-association: none Administrative private-vlan secondary host-association: none Administrative private-vlan primary mapping: none Administrative private-vlan secondary mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Virtual Ethernet Bridge Forwarding : Disabled Command: show running-config interface Ethernet1/49 !Running configuration last done at: Sun Mar 7 19:41:04 2021 !Time: Sun Mar 7 19:41:13 2021 version 10.1(1) Bios:version 05.40 interface Ethernet1/49 switchport switchport mode trunk no shutdown
Click on a version to see all relevant bugs
Cisco Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.