Cisco ASR 9000 Series Configuration Manuallines page 57

L2vpn and ethernet services configuration guide
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

The Carrier Ethernet Model
RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/2/0/4.10
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 3
l2transport
Example:
RP/0/RSP0/CPU0:router(config-subif)# l2transport
Enables Layer 2 transport mode on a port and enter Layer 2 transport configuration mode.
Step 4
encapsulation dot1q vlan-id
Example:
RP/0/RSP0/CPU0:router(config-subif-l2)# encapsulation dot1q 100
Assigns a VLAN Attachment Circuit to the subinterface.
• Replace the vlan-id argument with a subinterface identifier. Range is from 1 to 4094 inclusive (0 and 4095 are
reserved). To configure a basic Dot1Q Attachment Circuit, use this syntax:
encapsulation dot1q vlan-id
• To configure a QinQ Attachment Circuit, use this syntax:
encapsulation dot1q vlan-id second-dot1q vlan-id
Note
Following are the varieties of encapsulation commands:
• encapsulation dot1q 100
• encapsulation dot1q 100 second-dot1q 101
• encapsulation dot1ad 200 dot1q 201
Step 5
Use the commit or end command.
commit - Saves the configuration changes and remains within the configuration session.
end - Prompts user to take one of these actions:
• Yes - Saves configuration changes and exits the configuration session.
• No - Exits the configuration session without committing the configuration changes.
• Cancel - Remains in the configuration mode, without committing the configuration changes.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
Configuring 802.1Q VLAN Subinterfaces
31

Advertisement

Table of Contents
loading

Table of Contents