cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1377
Views
0
Helpful
10
Replies

Why can't I get a vlan to take a spanning tree command and it enabled?

Hi

 

I have configured rapid-pvst on my switch and on the vlan but i can't see the config on the sh command

 

Switch#sh vlan

 

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4

Fa0/5, Fa0/6, Fa0/7, Fa0/8

Fa0/9, Fa0/10, Fa0/11, Fa0/12

Fa0/13, Fa0/14, Fa0/15, Fa0/16

Fa0/17, Fa0/18, Fa0/19, Fa0/21

Fa0/22, Fa0/23, Fa0/24

20 VLAN0020 active Fa0/20

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active

 

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

1 enet 100001 1500 - - - - - 0 0

20 enet 100020 1500 - - - - - 0 0

1002 fddi 101002 1500 - - - - - 0 0

1003 tr 101003 1500 - - - - - 0 0

1004 fdnet 101004 1500 - - - ieee - 0 0

1005 trnet 101005 1500 - - - ibm - 0 0

 

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

 

Remote SPAN VLANs

------------------------------------------------------------------------------

 

Primary Secondary Type Ports

------- --------- ----------------- ------------------------------------------

Switch#

Switch#

Switch#

Switch#

Switch#

Switch#sh spanning-tree vlan 20

 

No spanning tree instance exists.

 

I can see the config on vlan 1 

 

Switch#sh spanning-tree vlan 1

VLAN0001

Spanning tree enabled protocol rstp

Root ID Priority 32769

Address 0001.9656.1306

Cost 19

Port 1(FastEthernet0/1)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

 

Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)

Address 0002.4A9C.CD4C

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

 

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/1 Root FWD 19 128.1 P2p

Fa0/2 Desg FWD 19 128.2 P2p

Fa0/3 Desg FWD 19 128.3 P2p

 

So a bit confused?  I have used both these cmds to set up spanning-tree but neither have worked

Switch#sh spanning-tree vlan 1

VLAN0001

Spanning tree enabled protocol rstp

Root ID Priority 32769

Address 0001.9656.1306

Cost 19

Port 1(FastEthernet0/1)

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

 

Bridge ID Priority 32769 (priority 32768 sys-id-ext 1)

Address 0002.4A9C.CD4C

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

 

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/1 Root FWD 19 128.1 P2p

Fa0/2 Desg FWD 19 128.2 P2p

Fa0/3 Desg FWD 19 128.3 P2p

 

1 Accepted Solution

Accepted Solutions

I know you want to be sure, 
only change the priority of SW for each VLAN and see the different.
I think this PKT so always there is some limitation on it.
this video for config rapid PVST and see it show rapid not PVST.

https://www.youtube.com/watch?v=p-LkyQMVk-g

View solution in original post

10 Replies 10

I see rstp not PVST so there is only one STP instance run which is STP VLAN1 
you need PVST to run different STP instance for other VLAN.

 

spanning-tree  Vlan-range<- this commend you need to run PVST for each vlan after enable it in global 

Hi

 You can enable with:

spanning-tree mode rapid-pvst

 

And you can see it with:

show spanning-tree summary

Jon Marshall
Hall of Fame
Hall of Fame

 

Are there are any ports up/up that are either access ports in vlan 20 or trunk ports that allow vlan 20 ? 

 

That is probably why you are not seeing any output. 

 

Jon

all ports are access ports and are up/up

 

 

Switch(config)#spanning-tree mode rapid-pvst

Switch(config)#exit

 

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#int range fa0/5-20

Switch(config-if-range)#spanning-tree mode rapid-pvst

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#int range fa0/5-20

Switch(config-if-range)#spanning-tree mode rapid-pvst

 

Switch(config)#do sh ip int brief

Interface IP-Address OK? Method Status Protocol

FastEthernet0/1 unassigned YES manual up up

FastEthernet0/2 unassigned YES manual up up

FastEthernet0/3 unassigned YES manual up up

FastEthernet0/4 unassigned YES manual down down

FastEthernet0/5 unassigned YES manual down down

FastEthernet0/6 unassigned YES manual down down

FastEthernet0/7 unassigned YES manual down down

FastEthernet0/8 unassigned YES manual down down

FastEthernet0/9 unassigned YES manual down down

FastEthernet0/10 unassigned YES manual down down

FastEthernet0/11 unassigned YES manual down down

FastEthernet0/12 unassigned YES manual down down

FastEthernet0/13 unassigned YES manual down down

FastEthernet0/14 unassigned YES manual down down

FastEthernet0/15 unassigned YES manual down down

FastEthernet0/16 unassigned YES manual down down

FastEthernet0/17 unassigned YES manual down down

FastEthernet0/18 unassigned YES manual down down

FastEthernet0/19 unassigned YES manual down down

FastEthernet0/20 unassigned YES manual down down

FastEthernet0/21 unassigned YES manual down down

FastEthernet0/22 unassigned YES manual down down

FastEthernet0/23 unassigned YES manual down down

FastEthernet0/24 unassigned YES manual down down

Vlan1 unassigned YES manual administratively down down

Vlan20 unassigned YES manual up down

 

 

Switch(config)#do sh ip int brief

Interface IP-Address OK? Method Status Protocol

FastEthernet0/1 unassigned YES manual up up

FastEthernet0/2 unassigned YES manual up up

FastEthernet0/3 unassigned YES manual up up

FastEthernet0/4 unassigned YES manual down down

FastEthernet0/5 unassigned YES manual down down

FastEthernet0/6 unassigned YES manual down down

FastEthernet0/7 unassigned YES manual down down

FastEthernet0/8 unassigned YES manual down down

FastEthernet0/9 unassigned YES manual down down

FastEthernet0/10 unassigned YES manual down down

FastEthernet0/11 unassigned YES manual down down

FastEthernet0/12 unassigned YES manual down down

FastEthernet0/13 unassigned YES manual down down

FastEthernet0/14 unassigned YES manual down down

FastEthernet0/15 unassigned YES manual down down

FastEthernet0/16 unassigned YES manual down down

FastEthernet0/17 unassigned YES manual down down

FastEthernet0/18 unassigned YES manual down down

FastEthernet0/19 unassigned YES manual down down

FastEthernet0/20 unassigned YES manual down down

FastEthernet0/21 unassigned YES manual down down

FastEthernet0/22 unassigned YES manual down down

FastEthernet0/23 unassigned YES manual down down

FastEthernet0/24 unassigned YES manual down down

Vlan1 unassigned YES manual administratively down down

Vlan20 unassigned YES manual up down

How do in configure a vlan range?

 

When i try it i get the folloowing

 

 

 

 

 

Switch(config)#do sh ip int brief

Interface IP-Address OK? Method Status Protocol

FastEthernet0/1 unassigned YES manual up up

FastEthernet0/2 unassigned YES manual up up

FastEthernet0/3 unassigned YES manual up up

FastEthernet0/4 unassigned YES manual down down

FastEthernet0/5 unassigned YES manual down down

FastEthernet0/6 unassigned YES manual down down

FastEthernet0/7 unassigned YES manual down down

FastEthernet0/8 unassigned YES manual down down

FastEthernet0/9 unassigned YES manual down down

FastEthernet0/10 unassigned YES manual down down

FastEthernet0/11 unassigned YES manual down down

FastEthernet0/12 unassigned YES manual down down

FastEthernet0/13 unassigned YES manual down down

FastEthernet0/14 unassigned YES manual down down

FastEthernet0/15 unassigned YES manual down down

FastEthernet0/16 unassigned YES manual down down

FastEthernet0/17 unassigned YES manual down down

FastEthernet0/18 unassigned YES manual down down

FastEthernet0/19 unassigned YES manual down down

FastEthernet0/20 unassigned YES manual down down

FastEthernet0/21 unassigned YES manual down down

FastEthernet0/22 unassigned YES manual down down

FastEthernet0/23 unassigned YES manual down down

FastEthernet0/24 unassigned YES manual down down

Vlan1 unassigned YES manual administratively down down

Vlan20 unassigned YES manual up down

 

No Fa0/20 is up and vlan is up and there it is...schoolboy mistake.  BUT it still shows as rstp and not rapid pvst?  why is this?

Switch(config)#do sh ip int brief

Interface IP-Address OK? Method Status Protocol

FastEthernet0/1 unassigned YES manual up up

FastEthernet0/2 unassigned YES manual up up

FastEthernet0/3 unassigned YES manual up up

FastEthernet0/4 unassigned YES manual down down

FastEthernet0/5 unassigned YES manual down down

FastEthernet0/6 unassigned YES manual down down

FastEthernet0/7 unassigned YES manual down down

FastEthernet0/8 unassigned YES manual down down

FastEthernet0/9 unassigned YES manual down down

FastEthernet0/10 unassigned YES manual down down

FastEthernet0/11 unassigned YES manual down down

FastEthernet0/12 unassigned YES manual down down

FastEthernet0/13 unassigned YES manual down down

FastEthernet0/14 unassigned YES manual down down

FastEthernet0/15 unassigned YES manual down down

FastEthernet0/16 unassigned YES manual down down

FastEthernet0/17 unassigned YES manual down down

FastEthernet0/18 unassigned YES manual down down

FastEthernet0/19 unassigned YES manual down down

FastEthernet0/20 unassigned YES manual down down

FastEthernet0/21 unassigned YES manual down down

FastEthernet0/22 unassigned YES manual down down

FastEthernet0/23 unassigned YES manual down down

FastEthernet0/24 unassigned YES manual down down

Vlan1 unassigned YES manual administratively down down

Vlan20 unassigned YES manual up down

 

Switch#sh spanning-tree vlan 20

VLAN0020

Spanning tree enabled protocol rstp

Root ID Priority 32788

Address 0002.4A9C.CD4C

This bridge is the root

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

 

Bridge ID Priority 32788 (priority 32768 sys-id-ext 20)

Address 0002.4A9C.CD4C

Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec

Aging Time 20

 

Interface Role Sts Cost Prio.Nbr Type

---------------- ---- --- --------- -------- --------------------------------

Fa0/20 Desg FWD 19 128.20 P2p

 

Bridge ID Priority 32788 (priority 32768 sys-id-ext 20)

If

Show stp vlan 1 

Show different bridge ID 

Then now you sucess have 

Rapid pvst since now you have two different stp instance even if you not see pvst.

 

That's just the way it reports it. 

 

Jon

I know you want to be sure, 
only change the priority of SW for each VLAN and see the different.
I think this PKT so always there is some limitation on it.
this video for config rapid PVST and see it show rapid not PVST.

https://www.youtube.com/watch?v=p-LkyQMVk-g

 

FYI, it shows rstp even when that is rstp per vlan. 

 

Jon

it is such a pain the cli it is so illogical!   why show rstp when you have configured pvst?  Guys thank you so much for your help and the excellent you tube video