Cisco Catalyst 2960 Command Reference Manual page 572

Hide thumbs Also See for Catalyst 2960:
Table of Contents

Advertisement

switchport backup interface
This example shows how to configure the Fast Ethernet interface as the MMU primary VLAN:
Switch# configure terminal
Switch(conf)# interface fastethernet0/1
Switch(conf-if)# switchport backup interface fastethernet0/2 mmu primary vlan 1021
Switch(conf-if)# end
You can verify your setting by entering the show interfaces switchport backup privileged EXEC
command.
The following example shows how to configure preferred VLANs:
Switch(config)# interface gigabitethernet 0/6
Switch(config-if)# switchport backup interface gigabitethernet 0/8 prefer vlan 60,100-120
You can verify your setting by entering the show interfaces switchport backup privileged EXEC
command.
In the following example, VLANs 60, and 100 to 120 are configured on the switch:
Switch(config)# interface gigabitEthernet 0/6
Switch(config-if)# switchport backup interface gigabitEthernet 0/8 prefer vlan 60,100-120
When both interfaces are up, Gi0/6 forwards traffic for VLANs 1 to 50, and Gi0/8 forwards traffic for
VLANs 60 and 100 to 120.
Switch# show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface
------------------------------------------------------------------------
GigabitEthernet0/6
Vlans Preferred on Active Interface: 1-50
Vlans Preferred on Backup Interface: 60, 100-120
When a Flex Link interface goes down (LINK_DOWN), VLANs preferred on this interface are moved
to the peer interface of the Flex Link pair. In this example, if interface Gi0/6 goes down, Gi0/8 carries
all VLANs of the Flex Link pair.
Switch# show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface
------------------------------------------------------------------------
GigabitEthernet0/6
Vlans Preferred on Active Interface: 1-50
Vlans Preferred on Backup Interface: 60, 100-120
When a Flex Link interface comes up, VLANs preferred on this interface are blocked on the peer
interface and moved to the forwarding state on the interface that has just come up. In this example, if
interface Gi0/6 comes up, VLANs preferred on this interface are blocked on the peer interface Gi0/8 and
forwarded on Gi0/6.
Switch# show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface
------------------------------------------------------------------------
GigabitEthernet0/6
Vlans Preferred on Active Interface: 1-50
Vlans Preferred on Backup Interface: 60, 100-120
Catalyst 2960 Switch Command Reference
2-545
Backup Interface
GigabitEthernet0/8
Active Up/Backup Up
Backup Interface
GigabitEthernet0/8
Active Down/Backup Up
Backup Interface
GigabitEthernet0/8
Active Up/Backup Up
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
State
State
State
OL-8604-04

Advertisement

Table of Contents
loading

Table of Contents