In a redundant switched topology when we have redundant links the spanning-tree will block some of the interfaces and create a loop free layer 2 switched network.
In this post we will see another method to deal with the redundant switched networks with the help of the Flexlinks. Flexlinks will have one port in the active state and the other one in the backup state.
In the topology below in ideal case the port Fa0/1 on SW3 will be put in blocking state if the STP is running. But in our topology we will run flexlink, so one port will be the active link while the other one will be put in the backup state. The backup link will be active only when the active link fails.
The sw3 will have Fa0/0 in active state and the port Fa0/1 will be in backup state
When we configure interfaces as flexlinks then ports will not send BPDU. There is no way to detect loops in this case as we don’t run spanning-tree. Whenever our active interface fails the backup interface will take over.
Configuration
We first make Fa0/1 as backup interface for Fa0/0.
SW3(config-if)#switchport backup interface fa0/1
SW3#
%SPANTREE-6-PORTDEL_ALL_VLANS: FastEthernet0/0 deleted from all Vlans
%SPANTREE-6-PORTDEL_ALL_VLANS: FastEthernet0/1 deleted from all Vlans
Spanning-tree is being disabled for these interfaces.
Switch Backup Interface Pairs: Active Interface Backup Interface State ———————————————————————— FastEthernet0/0 FastEthernet0/1 Active Up / Backup Standby
Next we will shut down the port Fa0/0 so the port Fa0/1 which was the backup will now become active.
SW3(config-if)#shutdown
Switch Backup Interface Pairs: Active Interface Backup Interface State ———————————————————————— FastEthernet0/0 FastEthernet0/1 Active Down / Backup Up
ABOUT THE AUTHOR
I am here to share my knowledge and experience in the field of networking with the goal being – “The more you share, the more you learn.”
I am a biotechnologist by qualification and a Network Enthusiast by interest. I developed interest in networking being in the company of a passionate Network Professional, my husband.
I am a strong believer of the fact that “learning is a constant process of discovering yourself.”
– Rashmi Bhardwaj (Author/Editor)