Cisco 7604 Configuration Manual page 245

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Chapter 18
Configuring Layer 2 Protocol Tunneling
To configure Layer 2 protocol tunneling on a port, perform this task:
Command
Step 1
Router(config)# interface type
Step 2
Router(config-if)# switchport
Step 3
Router(config-if)# l2protocol-tunnel
[cdp|drop-threshold
[ packets |shutdown-threshold [ packets ]|stp|vtp]
Router(config-if)# no l2protocol-tunnel [cdp|
drop-threshold|shutdown-threshold|stp|vtp]
Step 4
Router(config)# end
Step 5
Router# show l2protocol-tunnel [interface
1
type
slot/port |summary]
1.
type = ethernet, fastethernet, gigabitethernet, or tengigabitethernet
When you configure a Layer 2 port as a Layer 2 protocol tunnel port, note the following information:
Note
Refer to the Cisco IOS Master Command List, Release 12.2SX for more information about the l2ptguard
keyword for the following commands:
• errdisable detect cause
• errdisable recovery cause
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
OL-4266-08
1
slot/port
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 shutdown 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).
Protocol
Threshold
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
Configuring Support for Layer 2 Protocol Tunneling
Purpose
Selects the LAN port to configure.
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.
Configures the Layer 2 port as a Layer 2 protocol tunnel
port for the protocols specified.
Clears the configuration.
Exits configuration mode.
Verifies the configuration.
18-3

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents