FlexLinks

Rashmi Bhardwaj | Blog,Config & Troubleshoot,Routing & Switching
Advertisements

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.

Advertisements

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)#interface 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.

SW3#show interfaces switchport backup

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)#interface f0/0

SW3(config-if)#shutdown

SW3#show interfaces switchport backup

Switch Backup Interface Pairs:

Active Interface Backup Interface State

————————————————————————

FastEthernet0/0     FastEthernet0/1     Active     Down  /    Backup    Up

ABOUT THE AUTHOR


Leave a Comment

Your email address will not be published. Required fields are marked *

Shopping Cart