User Guide

14-9
Catalyst 6500 Series Switch Cisco IOS Software Configuration Guide—Release 12.1 E
78-14099-04
Chapter 14 Configuring IEEE 802.1Q Tunneling and Layer 2 Protocol Tunneling
Configuring Support for Layer 2 Protocol Tunneling
To configure Layer 2 protocol tunneling on a port, perform this task:
When you configure a Layer 2 port as a Layer 2 protocol tunnel port, note the following syntax
information:
Optionally, you may specify a drop-threshold for the port. The drop-threshold value, from 1 to 4096,
determines the number of packets to be processed for that protocol on that interface in one second.
When the drop threshold is exceeded, PDUs for the specified protocol are dropped for the remainder
of the 1-second period. If a shutdown threshold is not specified, the value is 0 (shutdown threshold
disabled).
Optionally, you may specify a shutdown-threshold for the port. The drop-threshold value, from 1 to
4096, determines the number of packets to be processed for that protocol on that interface in one
second. When the shutdown threshold is exceeded, the port is put in errdisable
state. If a shutdown
threshold is not specified, the value is 0 (shutdown threshold disabled).
Note A new keyword, l2ptguard, has been added to the following commands:
errdisable detect cause
errdisable recovery cause
Refer to the Catalyst 6500 Series Switch Cisco IOS Command Reference publication for more
information.
Command Purpose
Step 1
Router(config)# interface type
1
slot/port
1. type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
Selects the LAN port to configure.
Step 2
Router(config-if)# switchport
Configures the LAN port for Layer 2 switching:
You must enter the switchport command once
without any keywords to configure the LAN port as a
Layer 2 interface before you can enter additional
switchport commands with keywords.
Required only if you have not entered the switchport
command already for the interface.
Step 3
Router(config-if)# l2protocol-tunnel [cdp |
drop-threshold [packets] |
shutdown-threshold [packets] | stp | vtp]
Configures the Layer 2 port as a Layer 2 protocol tunnel
port for the protocol(s) specified.
Router(config-if)# no l2protocol-tunnel [cdp |
drop-threshold | shutdown-threshold | stp | vtp]
Clears the configuration.
Step 4
Router(config)# end
Exits configuration mode.
Step 5
Router# show l2protocol-tunnel [interface
type
1
slot/port | summary]
Verifies the configuration.