16-14
Catalyst 3560 Switch Software Configuration Guide
OL-8553-06
Chapter 16 Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling
Switch(config)# end
Switch# show l2protocol
COS for Encapsulated Packets: 7
Port Protocol Shutdown Drop Encapsulation Decapsulation Drop
Threshold Threshold Counter Counter Counter
------- -------- --------- --------- ------------- ------------- -------------
Fa 0/11 cdp 1500 1000 2288 2282 0
stp 1500 1000 116 13 0
vtp 1500 1000 3 67 0
pagp ---- ---- 0 0 0
lacp ---- ---- 0 0 0
udld ---- ---- 0 0 0
Configuring Layer 2 Tunneling for EtherChannels
To configure Layer 2 point-to-point tunneling to facilitate the automatic creation of EtherChannels, you
need to configure both the SP edge switch and the customer switch.

Configuring the SP Edge Switch

Beginning in privileged EXEC mode, follow these steps to configure a SP edge switch for Layer 2
protocol tunneling for EtherChannels:
Command Purpose
Step 1 configure terminal Enter global configuration mode.
Step 2 interface interface-id Enter interface configuration mode, and enter the interface to be configured
as a tunnel port. This should be the edge port in the SP network that
connects to the customer switch. Valid interfaces are physical interfaces.
Step 3 switchport mode dot1q-tunnel Configure the interface as an IEEE 802.1Q tunnel port.
Step 4 l2protocol-tunnel point-to-point
[pagp | lacp | udld]
(Optional) Enable point-to-point protocol tunneling for the desired
protocol. If no keyword is entered, tunneling is enabled for all three
protocols.
Caution To avoid a network failure, make sure that the network is a
point-to-point topology before you enable tunneling for PAgP,
LACP, or UDLD packets.
Step 5 l2protocol-tunnel
shutdown-threshold [point-to-point
[pagp | lacp | udld]] value
(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.
Note If you also set a drop threshold on this interface, the
shutdown-threshold value must be greater than or equal to the
drop-threshold value.