switchport backup interface
Usage Guidelines
With Flex Links configured, one link acts as the primary interface and forwards traffic, while the other
interface is in standby mode, ready to begin forwarding traffic if the primary link shuts down. The
interface being configured is referred to as the active link; the specified interface is identified as the
backup link. The feature provides an alternative to the Spanning Tree Protocol (STP), allowing users to
turn off STP and still retain basic link redundancy.
•
•
•
•
•
•
Examples
This example shows how to configure two interfaces as Flex Links:
Switch# configure terminal
Switch(conf)# interface gigabitethernet0/21
Switch(conf-if)# switchport backup interface gigabitethernet0/22
Switch(conf-if)# end
This example shows how to configure the Gigabit Ethernet interface to always preempt the backup:
Switch# configure terminal
Switch(conf)# interface gigabitethernet0/21
Switch(conf-if)# switchport backup interface gigabitethernet0/22 preemption forced
Switch(conf-if)# end
This example shows how to configure the Gigabit Ethernet interface preemption delay time:
Switch# configure terminal
Switch(conf)# interface gigabitethernet0/21
Switch(conf-if)# switchport backup interface gigabitethernet0/22 preemption delay 150
Switch(conf-if)# end
This example shows how to configure the Gigabit Ethernet interface as the MMU primary VLAN:
Switch# configure terminal
Switch(conf)# interface gigabitethernet0/21
Switch(conf-if)# switchport backup interface gigabitethernet0/22 mmu primary vlan 1021
Switch(conf-if)# end
You can verify your setting by entering the show interfaces switchport backup privileged EXEC
command.
Cisco Catalyst Blade Switch for HP Command Reference
2-494
This command is available only for Layer 2 interfaces.
You can configure only one Flex Link backup link for any active link, and it must be a different
interface from the active interface.
An interface can belong to only one Flex Link pair. An interface can be a backup link for only one
active link. An active link cannot belong to another Flex Link pair.
A backup link does not have to be the same type (Fast Ethernet or Gigabit Ethernet, for instance) as
the active link. However, you should configure both Flex Links with similar characteristics so that
there are no loops or changes in behavior if the standby link begins to forward traffic.
Neither of the links can be a port that belongs to an EtherChannel. However, you can configure two
port channels (EtherChannel logical interfaces) as Flex Links, and you can configure a port channel
and a physical interface as Flex Links, with either the port channel or the physical interface as the
active link.
If STP is configured on the switch, Flex Links do not participate in STP in all valid VLANs. If STP
is not running, be sure that there are no loops in the configured topology.
Chapter 2 Cisco Catalyst Blade Switch 3020 for HP Cisco IOS Commands
OL-8916-01