EasyManua.ls Logo

Cisco ASR 9000 Series - Page 38

Cisco ASR 9000 Series
696 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Task ID
OperationsTask ID
read, writel2vpn
Examples
The following example shows how to enable Layer 2 transport port mode on an Ethernet interface and enter
Layer 2 transport configuration mode:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface GigabitEther 0/2/0/0
RP/0/RSP0/CPU0:router(config-if)# l2transport
RP/0/RSP0/CPU0:router(config-if-l2)#
The following example shows how to use the l2transport keyword in the interface command:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface GigabitEther 0/2/0/0 l2transport
RP/0/RSP0/CPU0:router(config-if)# encapsulation dot1q 200
RP/0/RSP0/CPU0:router(config-if-l2)#commit
The following example shows how to use the l2transport command on an Ethernet subinterface:
Ensure that the l2transport command is applied on the same line as the interface command for the
Ethernet subinterface.
Note
RP/0/RSP0/CPU0:router#configure
RP/0/RSP0/CPU0:router(config)#interface GigabitEthernet 0/5/0/1.1 l2transport
RP/0/RSP0/CPU0:router(config-subif)#encapsulation dot1q 100
RP/0/RSP0/CPU0:router(config-subif)#ethernet egress-filter strict
RP/0/RSP0/CPU0:router(config-subif)#commit
RP/0/RSP0/CPU0:router(config-subif)#end
RP/0/RSP0/CPU0:router#sh run | begin GigabitEthernet0/5/0/1
Thu Dec 3 10:15:40.916 EST Building configuration...
interface GigabitEthernet0/5/0/1
mtu 1500
ethernet filtering dot1q
!
interface GigabitEthernet0/5/0/1.1 l2transport
encapsulation dot1q 100
ethernet egress-filter strict !
interface GigabitEthernet0/5/0/2
shutdown
!
!
To configure l2transport on an Ethernet subinterface, ensure that the main interface is configured as a
Layer 3 interface.
Note
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
24
Ethernet Interfaces Commands
l2transport (Ethernet)

Table of Contents

Other manuals for Cisco ASR 9000 Series

Related product manuals