cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
502
Views
0
Helpful
1
Replies

enable STP to specific vlans in 6500 switch

oded-levi
Level 1
Level 1

hello!

I have 6500 with this STP configuration:

spanning-tree mode rapid-pvst

no spanning-tree vlan 1-4094

I need to enable STP on vlan 100 and vlan 103.

When I do "spanning-tree vlan 100,103 root primary" and then "show spanning-tree".

I see that STP is not enable on these vlans (100,103).

I tried to do "no spanning-tree vlan 1-99,101,102,104-4094" and it is not work.

There is a way to enable STP on vlans 100,103 without to do "spanning-tree vlan 1-4094"

thanks.

1 Reply 1

InayathUlla Sharieff
Cisco Employee
Cisco Employee

Yes Certienly there is a way to enable STP for each vlan without enabling the cmd 1-4094. Details below     

Simple,

You are the steps:

1- Disable STP for vlan 1-4094

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

Switch(config)#no spanning-tree vlan 1-4094

Switch(config)#vlan 100

Switch(config-vlan)#vlan 200

Switch#sh spanning-tree vlan 100

No spanning tree instance exists. >>>>>>NO STP instance.

2- Enable STP for VLans 100 and 200:


Switch# config t

Switch(config)#spanning-tree vlan 100

Switch(config)#spanning-tree vlan 200

Switch#sh spanning-tree vlan 100

VLAN0100

  Spanning tree enabled protocol rstp

  Root ID    Priority    32868

             Address     0007.ECC2.1731

             This bridge is the root

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

  Bridge ID  Priority    32868  (priority 32768 sys-id-ext 100)

Switch#sh spanning-tree vlan 200

VLAN0100

  Spanning tree enabled protocol rstp

  Root ID    Priority    32868

             Address     0007.ECC2.1731

             This bridge is the root

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

  Bridge ID  Priority    32868  (priority 32768 sys-id-ext 100)

HTH

REgards

Inayath

*PLZ RATE ALL USEFULL POSTS AND MARK THE THREAD AS ANSWERED IF IT RESOLVES YOUR QUERY.

Review Cisco Networking for a $25 gift card