2-476
Catalyst 3750 Metro Switch Command Reference
OL-9645-10
Chapter 2 Catalyst 3750 Metro Switch Cisco IOS Commands
show interfaces
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 Gi1/0/6 goes down, Gi1/0/8 carries
all VLANs of the Flex Link pair.
Switch# show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------
GigabitEthernet1/0/6 GigabitEthernet1/0/8 Active Down/Backup Up
Vlans on Interface Gi 1/0/6:
Vlans on Interface Gi 1/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 Gi1/0/6 comes up, then VLANs preferred on this interface are blocked on the peer interface
Gi1/0/8 and forwarded on Gi1/0/6.
Switch# show interfaces switchport backup
Switch Backup Interface Pairs:
Active Interface Backup Interface State
------------------------------------------------------------------------
GigabitEthernet1/0/6 GigabitEthernet1/0/8 Active Up/Backup Up
Vlans on Interface Gi 1/0/6: 1-50
Vlans on Interface Gi 1/0/8: 60, 100-120
This is an example of output from the show interfaces interface-id trunk command. It displays trunking
information for the port.
Switch# show interfaces gigabitethernet1/0/1 trunk
Port Mode Encapsulation Status Native vlan
Gi1/0/1 auto negotiate trunking 1
Port Vlans allowed on trunk
Gi1/0/1 1-4094
Port Vlans allowed and active in management domain
Gi1/0/1 1-4
Port Vlans in spanning tree forwarding state and not pruned
Gi1/0/1 1-4
Related Commands Command Description
switchport access Configures a port as a static-access or a dynamic-access port.
switchport block Blocks unknown unicast or multicast traffic on an interface.
switchport backup interface Configures Flex Links, a pair of Layer 2 interfaces that provide mutual
backup.
switchport mode Configures the VLAN membership mode of a port.
switchport protected Isolates unicast, multicast, and broadcast traffic at Layer 2 from other
protected ports on the same switch.
switchport trunk pruning Configures the VLAN pruning-eligible list for ports in trunking mode.