hit counter script

Configuring Layer 2 Protocol Tunneling - Cisco WS-C3020 Software Configuration Manual

Catalyst blade switch for hp
Table of Contents

Advertisement

Chapter 15
Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling

Configuring Layer 2 Protocol Tunneling

Beginning in privileged EXEC mode, follow these steps to configure a port for Layer 2 protocol
tunneling:
Command
Step 1
configure terminal
Step 2
interface interface-id
Step 3
switchport mode access
or
switchport mode dot1q-tunnel
Step 4
l2protocol-tunnel [cdp | stp | vtp]
Step 5
l2protocol-tunnel
shutdown-threshold [cdp | stp | vtp]
value
Step 6
l2protocol-tunnel drop-threshold
[cdp | stp | vtp] value
Step 7
exit
Step 8
errdisable recovery cause l2ptguard (Optional) Configure the recovery mechanism from a Layer 2
Step 9
l2protocol-tunnel cos value
Step 10
end
Step 11
show l2protocol
Step 12
copy running-config startup-config
OL-8915-03
Purpose
Enter global configuration mode.
Enter interface configuration mode, and enter the interface to be configured
as a tunnel port. This should be the edge port in the service-provider
network that connects to the customer switch. Valid interfaces can be
physical interfaces and port-channel logical interfaces (port channels 1 to
48).
Configure the interface as an access port or an IEEE 802.1Q tunnel port.
Enable protocol tunneling for the desired protocol. If no keyword is entered,
tunneling is enabled for all three Layer 2 protocols.
(Optional) Configure the threshold for packets-per-second accepted for
encapsulation. The interface is disabled if the configured threshold is
exceeded. If no protocol option is specified, the threshold applies to each of
the tunneled Layer 2 protocol types. The range is 1 to 4096. The default is
to have no threshold configured.
If you also set a drop threshold on this interface, the
Note
shutdown-threshold value must be greater than or equal to the
drop-threshold value.
(Optional) Configure the threshold for packets-per-second accepted for
encapsulation. The interface drops packets if the configured threshold is
exceeded. If no protocol option is specified, the threshold applies to each of
the tunneled Layer 2 protocol types. The range is 1 to 4096. The default is
to have no threshold configured.
If you also set a shutdown threshold on this interface, the drop-threshold
value must be less than or equal to the shutdown-threshold value.
Return to global configuration mode.
maximum-rate error so that the interface is re-enabled and can try again.
Errdisable recovery is disabled by default; when enabled, the default time
interval is 300 seconds.
(Optional) Configure the CoS value for all tunneled Layer 2 PDUs. The
range is 0 to 7; the default is the default CoS value for the interface. If none
is configured, the default is 5.
Return to privileged EXEC mode.
Display the Layer 2 tunnel ports on the switch, including the protocols
configured, the thresholds, and the counters.
(Optional) Save your entries in the configuration file.
Cisco Catalyst Blade Switch 3020 for HP Software Configuration Guide
Configuring Layer 2 Protocol Tunneling
15-13

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3020

Table of Contents