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 gigabitethernet1/0/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
Related Topics
Configuringthe SP EdgeSwitch, on page138
Configuringthe Customer Switch, on page141
Monitoring Tunneling Status
Thefollowing table describes the commandsused to monitortunneling status.
Table 15: Commands for Monitoring Tunneling
PurposeCommand
Clearsthe protocol counters on Layer 2 protocol
tunnelingports.
clearl2protocol-tunnel counters
DisplaysIEEE 802.1Q tunnelports on theswitch.showdot1q-tunnel
Verifiesif a specific interface is a tunnel port.
showdot1q-tunnel interfaceinterface-id
Displaysinformation about Layer 2 protocol tunneling
ports.
showl2protocol-tunnel
Verifiesif the recovery timer from a Layer 2
protocol-tunnelerror disable state is enabled.
showerrdisable recovery
Displaysinformation about a specific Layer 2 protocol
tunnelingport.
showl2protocol-tunnel interface interface-id
Displaysonly Layer 2 protocol summary information.showl2protocol-tunnel summary
Displaysthe status of nativeVLAN tagging onthe
switch.
showvlan dot1q tag native
Catalyst 2960-XR Switch VLAN Configuration Guide, Cisco IOS Release 15.0(2)EX1
146 OL-29440-01
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Monitoring Tunneling Status