
STP doubt.
Experts,
Switch1 #sh spanning-tree
VLAN0099
Spanning tree enabled protocol rstp
Root ID Priority 32867
Address 7081.0532.7340
This bridge is the root
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Bridge ID Priority 32867 (priority 32768 sys-id-ext 99)
Address 7081.0532.7340
Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec
Aging Time 300
Interface Role Sts Cost Prio.Nbr Type
------------------- ---- --- --------- -------- --------------------------------
Gi2/1 Desg FWD 4 128.65 P2p
Gi3/9 Desg FWD 4 128.137 P2p
Can anybody please explain what is Prio.Nbr and Type?
Comments
Local priority
Local interface number
Forgot to add type of P2P = point-to-point which means we have a full duplex connection so we can use the RSTP proposal handshake rather than 802.1D timers.
Nick
Nick,
Do you have a document where we can learn more about this?
Hi Krishna,
The first number is the port-priority for a particular interface & the second value is the interface number. P2P refers to the full duplex connection which is point-to-point as nick told.
Good luck!
For basics on STP to undesratnd concept such as Bridge priority, Port priority, costs etc start here:
http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_46_se/configuration/guide/swstp.html
MSTP uses RSTP and both can be found here:
http://www.cisco.com/en/US/docs/switches/lan/catalyst3560/software/release/12.2_46_se/configuration/guide/swmstp.html
Daniel wrote an excellent blog post on the RSTP sync process which happens on P2P links between switches and you can find it here:
http://lostintransit.se/2013/08/08/rstp-synchronization-behind-the-scenes/
There are some INE blogs also when you want to get some more in depth knowledge but these should be good to get you started.
Nick
I would definitely advise going through INE's VOL1, they have some pretty good tasks related to STP and how to manipulate cost and port-priority. I think practicing that using VOL1 is very beneficial, at least it was for me.