Chapter 14
Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling
This example shows how to configure Layer 2 protocol tunneling and shutdown thresholds on port 5/1
for CDP, STP, and VTP, and verify the configuration:
Router# configure terminal
Router(config)# interface fastethernet 5/1
Router(config-if)# switchport
Router(config-if)# l2protocol-tunnel shutdown-threshold cdp 10
Router(config-if)# l2protocol-tunnel shutdown-threshold stp 10
Router(config-if)# l2protocol-tunnel shutdown-threshold vtp 10
Router(config-if)# end
Router# show l2protocol-tunnel summary
Port
----------------------------------------
Fa5/1
Router#
This example shows how to display counter information for port 5/1:
Router# show l2protocol-tunnel interface fastethernet 5/1
Port
--------------------------------------------------------------
Router#
This example shows how to clear the Layer 2 protocol tunneling configuration from port 5/1:
Router(config-if)# no l2protocol-tunnel shutdown-threshold cdp 10
Router(config-if)# no l2protocol-tunnel shutdown-threshold stp 10
Router(config-if)# no l2protocol-tunnel shutdown-threshold vtp 10
Router(config-if)# no l2protocol-tunnel cdp
Router(config-if)# no l2protocol-tunnel stp
Router(config-if)# no l2protocol-tunnel vtp
Router(config-if)# end
Router# show l2protocol-tunnel summary
Port
----------------------------------------
Router#
This example shows how to clear Layer 2 protocol tunneling port counters:
Router# clear l2protocol-tunnel counters
Router#
78-14064-04
Protocol
Threshold
(cos/cdp/stp/vtp)
cdp stp vtp
0/10
Protocol
Threshold
(cos/cdp/stp/vtp)
Protocol
Threshold
(cos/cdp/stp/vtp)
Cisco 7600 Series Router Cisco IOS Software Configuration Guide—12.1E
Configuring Support for Layer 2 Protocol Tunneling
/10
/10
down trunk
Counters
(cdp/stp/vtp/decap)
14-9