show interfaces
GigabitEthernet2/0/6
Vlans on Interface Gi 2/0/6: 1-50
Vlans on Interface Gi 2/0/8: 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 Gi2/0/6 goes down, Gi2/0/8 carries
all VLANs of the Flex Link pair.
Switch#show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface
------------------------------------------------------------------------
GigabitEthernet2/0/6
Vlans on Interface Gi 2/0/6:
Vlans on Interface Gi 2/0/8: 1-50, 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 Gi2/0/6 comes up, then VLANs preferred on this interface are blocked on the peer interface
Gi2/0/8 and forwarded on Gi2/0/6.
Switch#show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface
------------------------------------------------------------------------
GigabitEthernet2/0/6
Vlans on Interface Gi 2/0/6: 1-50
Vlans on Interface Gi 2/0/8: 60, 100-120
This is an example of output from the show interfaces interface-id pruning command:
Switch# show interfaces gigibitethernet0/2 pruning
Port
This is an example of output from the show interfaces interface-id trunk command. It displays trunking
information for the port.
Switch# show interfaces gigabitethernet0/1 trunk
Port
Gi0/1
Port
Gi0/1
Port
Gi0/1
Port
Gi0/1
This is an example of output from the show interfaces interface-id transceiver properties command:
Switch# show interfaces gigabitethernet0/1 transceiver properties
Name : Gi0/1
Administrative Speed: auto
Operational Speed: auto
Administrative Duplex: auto
Administrative Power Inline: N/A
Operational Duplex: auto
Administrative Auto-MDIX: off
Catalyst 2960 Switch Command Reference
2-356
GigabitEthernet2/0/8
Backup Interface
GigabitEthernet2/0/8
Backup Interface
GigabitEthernet2/0/8
Vlans pruned for lack of request by neighbor
Mode
Encapsulation
auto
negotiate
Vlans allowed on trunk
1-4094
Vlans allowed and active in management domain
1-4
Vlans in spanning tree forwarding state and not pruned
1-4
Chapter 2 Catalyst 2960 Switch Cisco IOS Commands
Active Up/Backup Up
State
Active Down/Backup Up
State
Active Up/Backup Up
Status
Native vlan
trunking
1
OL-8604-04