l2protocol (Ethernet)
To configure Layer 2 protocol tunneling and protocol data unit (PDU) filtering on an Ethernet interface, use
the l2protocol command in Layer 2 transport configuration mode. To disable a Layer 2 protocol tunneling
and Layer 2 protocol data units configuration, use the no form of this command.
l2protocol cpsv {tunnel| reverse-tunnel}
no l2protocol
Syntax Description
Enables L2PT for the interface. L2PT is enabled for the following protocols only:
•
CDP
•
STP
•
VTP
STP includes all Spanning Tree protocol derivatives (RSTP, MSTP,
etc.)
Note
cpsv
Performs L2PT encapsulation on frames as they enter the interface. Also, performs L2PT
de-encapsulation on frames as they exit they interface.
L2PT encapsulation rewrites the destination MAC address with the L2PT destination
MAC address. L2PT deencapsulation replaces the L2PT destination MAC address with
the original destination MAC address.
tunnel
Performs L2PT encapsulation on frames as they exit the interface. Also, perform L2PT
deencapsulation on frames as they enter the interface.
reverse-tunnel
Command Default
All Layer 2 protocol data units are forwarded through the network without modification.
Command Modes
Layer 2 transport configuration
Command History
ModificationRelease
This command was introduced.Release 3.9.1
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task
IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator
for assistance.
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
21
Ethernet Interfaces Commands
l2protocol (Ethernet)