User`s guide

Ethernet Switch CLI Reference Guide
125
CHAPTER 29
Layer 2 Protocol Tunnel (L2PT)
Commands
29.1 Command Summary
The following section lists the commands for this feature.
Table 75 l2pt Command Summary
COMMAND DESCRIPTION M P
clear l2protocol-tunnel Removes all layer 2 protocol tunneling counters. E 13
interface port-channel <port-list> Enters config-interface mode for configuring the specified
port(s).
C13
l2protocol-tunnel Enables layer 2 protocol tunneling for CDP (Cisco
Discovery Protocol), STP (Spanning Tree Protocol) and
VTP (VLAN Trunking Protocol) packets on the specified
port(s).
C13
l2protocol-tunnel cdp Enables layer 2 protocol tunneling for CDP packets on
the specified port(s).
C13
l2protocol-tunnel mode
<access|tunnel>
Sets the L2PT mode for the specified port(s)
access: for ingress ports at the edge of the service
provider's network. The Switch encapsulates the
incoming layer 2 protocol packets and forward them to
the tunnel port(s).
Note: You can enable L2PT services for STP,
LACP, VTP, CDP, UDLD, and PAGP on
the access port(s) only.
tunnel: for egress ports at the edge of the service
provider's network. The Switch decapsulates the
encapsulated layer 2 protocol packets received on a
tunnel port by changing the destination MAC adress to
the original one, and then forward them to an access
port. If the service(s) is not enabled on an access port,
the protocol packets are dropped.
C13