17-9
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 17 Configuring Flex Links and the MAC Address-Table Move Update Feature
Configuring Flex Links and MAC Address-Table Move Update
This example shows how to configure an interface with a backup interface and to verify the
configuration:
Switch#
configure terminal
Switch(conf)#
interface gigabitethernet0/1
Switch(conf-if)#
switchport backup interface gigabitethernet0/2
Switch(conf-if)#
end
Switch#
show interface switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------------------------
GigabitEthernet0/1
GigabitEthernet0/2
Active Up/Backup Standby
GigabitEthernet0/3
GigabitEthernet0/4
Active Up/Backup Standby
Port-channel1
GigabitEthernet0/1
Active Up/Backup Standby
Beginning in privileged EXEC mode, follow these steps to configure a preemption scheme for a pair of
Flex Links:
Step 5
show interface [interface-id] switchport backup
Verify the configuration.
Step 6
copy running-config startup config
(Optional) Save your entries in the switch startup
configuration file.
Command
Purpose
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
interface interface-id
Specify the interface, and enter interface configuration
mode. The interface can be a physical Layer 2 interface or
a port channel (logical interface). The port-channel range
is 1 to 26.
Step 3
switchport backup interface interface-id
Configure a physical Layer 2 interface (or port channel)
as part of a Flex Link pair with the interface. When one
link is forwarding traffic, the other interface is in standby
mode.
Step 4
switchport backup interface interface-id preemption
mode {forced | bandwidth | off}
Configure a preemption mechanism and delay for a Flex
Link interface pair. You can configure the preemption as:
•
forced—the active interface always preempts the
backup.
•
bandwidth—the interface with the higher bandwidth
always acts as the active interface.
•
off—no preemption happens from active to backup.
Step 5
switchport backup interface interface-id preemption
delay delay-time
Configure the time delay until a port preempts another
port.
Note
Setting a delay time only works with forced and
bandwidth modes.
Step 6
end
Return to privileged EXEC mode.
Step 7
show interface [interface-id] switchport backup
Verify the configuration.
Step 8
copy running-config startup config
(Optional) Save your entries in the switch startup
configuration file.