16-17
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 16 Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Monitoring and Maintaining Tunneling Status
Switch(config-if)# l2protocol-tunnel point-to-point pagp
Switch(config-if)# l2protocol-tunnel point-to-point udld
Switch(config-if)# l2protocol-tunnel drop-threshold point-to-point pagp 1000
Switch(config-if)# exit
Switch(config)# interface fastethernet0/3
Switch(config-if)# switchport trunk encapsulation isl
Switch(config-if)# switchport mode trunk
This example shows how to configure the customer switch at Site 1. Fast Ethernet interfaces 1, 2, 3, and
4 are set for IEEE 802.1Q trunking, UDLD is enabled, EtherChannel group 1 is enabled, and the port
channel is shut down and then enabled to activate the EtherChannel configuration.
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# udld enable
Switch(config-if)# channel-group 1 mode desirable
Switch(config-if)# exit
Switch(config)# interface fastethernet0/2
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# udld enable
Switch(config-if)# channel-group 1 mode desirable
Switch(config-if)# exit
Switch(config)# interface fastethernet0/3
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# udld enable
Switch(config-if)# channel-group 1 mode desirable
Switch(config-if)# exit
Switch(config)# interface fastethernet0/4
Switch(config-if)# switchport trunk encapsulation dot1q
Switch(config-if)# switchport mode trunk
Switch(config-if)# udld enable
Switch(config-if)# channel-group 1 mode desirable
Switch(config-if)# exit
Switch(config)# interface port-channel 1
Switch(config-if)# shutdown
Switch(config-if)# no shutdown
Switch(config-if)# exit
Monitoring and Maintaining Tunneling Status
Tabl e 16-2 shows the privileged EXEC commands for monitoring and maintaining IEEE 802.1Q and
Layer 2 protocol tunneling.
Tab l e 16-2 Commands for Monitoring and Maintaining Tunneling
Command Purpose
clear l2protocol-tunnel counters Clear the protocol counters on Layer 2 protocol tunneling ports.
show dot1q-tunnel Display IEEE 802.1Q tunnel ports on the switch.
show dot1q-tunnel interface interface-id Verify if a specific interface is a tunnel port.
show l2protocol-tunnel Display information about Layer 2 protocol tunneling ports.
show errdisable recovery Verify if the recovery timer from a Layer 2 protocol-tunnel error disable
state is enabled.