1226
Cisco Nexus 5500 Series NX-OS Layer 2 Interfaces Command Reference
OL-27880-02
Chapter S Commands
switchport backup interface
Usage Guidelines
Note
This command is applicable to the Cisco Nexus 5548 Series switch and the Cisco Nexus 5596 Series
switch.
Before you use this command, make sure that you enable Flex Links on the switch by using the
feature
flexlink
command.
Note
Make sure the virtual port channel (vPC) is disabled on the switch.
A Flex Links port can be a physical Ethernet port or a port channel.
You cannot configure Flex Links port on the following types of interface:
•
Fabric Extender (FEX) fabric port and FEX host port
•
Virtual Fibre Channel interface
•
Virtual network tag (VNTag)
•
Interface with port security enabled
•
Layer 3 interface
•
Switched Port Analyzer (SPAN) destination
•
Port channel member
•
Interface configured with private VLAN
•
Endnode mode
•
Fabric path core interface (Layer 2 multipath)
Examples
This example shows how to configure Ethernet 1/1 and Ethernet 1/12 as Flex Links:
switch#
configure terminal
switch(config)#
interface ethernet 1/1
switch(config-if)#
switchport backup interface ethernet 1/12
switch(config-if)#
This example shows how to configure EtherChannel 100 and EtherChannel 101 as Flex Links:
switch#
configure terminal
switch(config)#
interface port-channel 100
switch(config-if)#
switchport backup interface port-channel 101
switch(config-if)#
This example shows how to configure the Ethernet interface to always preempt the backup:
switch#
configure terminal
switch(config)#
interface ethernet1/10
switch(config-if)#
switchport backup interface ethernet1/2 preemption mode forced
switch(config-if)#
This example shows how to configure the Ethernet interface preemption delay time:
switch#
configure terminal
switch(config)#
interface ethernet1/1
switch(config-if)#
switchport backup interface ethernet1/12 preemption delay 150
switch(config-if)#