The Carrier Ethernet Model
RP/0/RSP0/CPU0:router(config)#
l2transport
Enters subinterface configuration mode and specifies the interface type, location, and subinterface number.
• Replace the instance argument with one of these instances:
• Physical Ethernet interface instance, or with an Ethernet bundle instance. Naming notation is
rack/slot/module/port, and a slash between values is required as part of the notation.
• Ethernet bundle instance. Range is from 1 through 65535.
• Replace the subinterface argument with the subinterface value. Range is from 0 through 4095.
• Naming notation is instance.subinterface, and a period between arguments is required as part of the notation.
Step 5
encapsulation dot1q vlan-id
Example:
RP/0/RSP0/CPU0:router(config-subif)# encapsulation dot1q 50
Assigns the matching VLAN ID and Ethertype to the interface.
Step 6
l2vpn
Example:
RP/0/RSP0/CPU0:router(config-subif)# l2vpn
Enters L2VPN configuration mode.
Step 7
bridge group bridge-group-name
Example:
RP/0/RSP0/CPU0:router(config-l2vpn)# bridge group ce-doc-examples
Enters configuration mode for the named bridge group. This command creates a new bridge group or modifies the
existing bridge group if it already exists. A bridge group organizes bridge domains.
Step 8
bridge-domain domain-name
Example:
RP/0/RSP0/CPU0:router(config-l2vpn-bg)# bridge-
domain ac-example
Enters configuration mode for the named bridge domain. This creates a new bridge domain modifies the existing bridge
domain if it already exists.
Step 9
interface [GigabitEthernet | TenGigE] instance.subinterface
Example:
interface GigabitEthernet0/5/0/0.20
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
Configuring an Attachment Circuit on an Ethernet Port
27