Tuesday, July 13, 2010

RSTP convergence may be cause of outage

This post will explain you one of the RSTP behavior, which may or may not be hamper your bridged networks during RSTP convergence.


In this topology previously only one ether channel po217 (2*1G) links were between Bridge A and Bridge B, now we are going to add a new link, ether channel po99 of (2*10G) links, now we will allow only one VLAN (307) on po99.



Find the below logs which we capture which we captured on Bridge A and B after allowing the VLAN.

Bridge A :

Feb 12 11:00:47 BridgeA 1404749: Feb 12 11:00:45 CET: %SPANTREE-SP-6-PORT_STATE: Port Po99 instance 307 moving from disabled to blocking

Feb 12 11:00:49 BridgeA 1404750: Feb 12 11:00:47 CET: %SPANTREE-SP-6-PORT_STATE: Port Po99 instance 307 moving from blocking to forwarding

Bridge B :

Feb 12 11:00:49 BridgeB 1308571: Feb 12 11:00:47 CET: %SPANTREE-SP-6-PORT_STATE: Port Po99 instance 307 moving from disabled to blocking

Feb 12 11:00:49 BridgeB 1308572: Feb 12 11:00:47 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi3/6 instance 307 moving from forwarding to blocking

Feb 12 11:00:49 BridgeB 1308573: Feb 12 11:00:47 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi4/7 instance 307 moving from forwarding to blocking

Feb 12 11:00:49 BridgeB 1308574: Feb 12 11:00:47 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi4/10 instance 307 moving from forwarding to blocking

Feb 12 11:00:49 BridgeB 1308576: Feb 12 11:00:47 CET: %SPANTREE-SP-6-PORT_STATE: Port Po99 instance 307 moving from blocking to forwarding

Feb 12 11:01:04 BridgeB 1308578: Feb 12 11:01:02 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi3/6 instance 307 moving from blocking to learning

Feb 12 11:01:04 BridgeB 1308579: Feb 12 11:01:02 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi4/7 instance 307 moving from blocking to learning

Feb 12 11:01:04 BridgeB 1308580: Feb 12 11:01:02 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi4/10 instance 307 moving from blocking to learning

Feb 12 11:01:19 BridgeB 1308583: Feb 12 11:01:17 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi3/6 instance 307 moving from learning to forwarding

Feb 12 11:01:19 BridgeB 1308584: Feb 12 11:01:17 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi4/7 instance 307 moving from learning to forwarding

Feb 12 11:01:19 BridgeB 1308585: Feb 12 11:01:17 CET: %SPANTREE-SP-6-PORT_STATE: Port Gi4/10 instance 307 moving from learning to forwarding

Note:-- All the highlighted logs belongs to Designated Non-edge ports,

Cause of blocking these ports:- RSTP convergence triggered by this TCN uses a process called SYNC (where all ports on a switch which are non-edge designated are sent to blocking first which was the case on Bridge B)

In this scenario nothing will be impacted because all ports which were gone to blocking states, they are connected to blocked ports to prevent the STP loop.

Note:- All access port (edge port) should be port fast enable to prevent the outage because TCN will not be generated for Edge ports and also the RSTP SYNC process doesn’t effect edge ports during convergence.

In below mention topology outage will be unavoidable.




In above mention diagram Bridge E is connected with bridge C only so, the port which is connecting these two, it would be designated non-edge port, so it will be blocked and all devices which is connected on bridge E will be affected.

Inputs are always welcome; please let me know if anything is there to prevent this outage.

No comments:

Post a Comment