The l2protocol command is available only when Layer 2 transport port mode is enabled on the interface
with the l2transport command.
Note
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to configure an Ethernet interface to tunnel in the ingress direction:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/1
RP/0/RSP0/CPU0:router(config-if)# l2transport
RP/0/RSP0/CPU0:router(config-if-l2)# l2protocol cpsv tunnel
Related Commands
DescriptionCommand
Enables Layer 2 transport port mode on an Ethernet interface and
enter Layer 2 transport configuration mode.
l2transport (Ethernet), on page 23
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
22
Ethernet Interfaces Commands
l2protocol (Ethernet)