12-15-2015 08:09 AM - edited 03-08-2019 03:07 AM
I have created a new L2-vlan in switch but when i am trying below command getting the below message
Switch# sh vlan id 218
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
218 VLAN0218 active Po1, Po50, Eth1/23, Eth1/24
Eth1/25, Eth1/26
Njse-425-nexus5k-1# sh spanning-tree vlan 218
Spanning tree instance(s) for vlan does not exist.
Njse-425-nexus5k-1#
can you please let me know how can i enable the spanning tree for this vlan
12-15-2015 09:01 AM
what is the output of show vlan brief in N5k , Is VLAN 218 is showing on VLAN database.
-GI
12-15-2015 07:03 PM
Many possible reasons for this to happen and a few I can think of is listed below-
1. If your 5k is in VPC then your vlan is not created on the peer 5k
2.vlan not allowed on the peer link
3. STP is disabled for the vlan
4. Ports where the vlan is allowed in down
-Raj
12-15-2015 09:16 AM
Not sure, if VPC is involved in your config. you can post your spanning tree config but I would think you need to specify native vlan and allow your vlans through the trunk link.
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk allowed vlan id
Switch(config-if)# switchport trunk native vlan id
hope it helps,
Aus
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide