13-14
Cisco ME 3400 EthernetAccess Switch SoftwareConfiguration Guide
78-17058-01
Chapter13 Configuring IEEE 802.1Q and Layer 2 Protocol Tunneling
Configuring Layer 2 Protocol Tunneling
Switch# show l2protocol
COS for Encapsulated Packets: 7
Port Protocol Shutdown Drop Encapsulation Decapsulation Drop
Threshold Threshold Counter Counter Counter
------- -------- --------- --------- ------------- ------------- -------------
Gi 0/1 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 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 L ayer 2
protocol tunneling for EtherChannels:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 interface interface-id Enter interface configuration mode, and enter th e interf ace to be conf igured
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.
Step3 no shutdown Enable the port, if necessary. By default, UNIs are disabled, and NNIs are
enabled.
Step4 switchport mode dot1q-tunnel Configure the interface as an IEEE 802.1Q tunnel port.
Step5 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.
Step6 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. T he de fault 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.