Cisco ASR 9000 Series Command Reference Manual page 1111

Aggregation services router
Hide thumbs Also See for ASR 9000 Series:
Table of Contents

Advertisement

VLAN Subinterface Commandsonthe Cisco ASR 9000 Series Router
The dot1q vlan command is is replaced by the encapsulation dot1q command. It is still available for
Note
backward-compatibility, but only for Layer 3 interfaces. The encapsulation dot1q command must be
used going forward.
Task ID
Task ID
vlan
Examples
This example shows how to configure the VLAN ID and IP address on a subinterface:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/2/0/4.1
RP/0/RSP0/CPU0:router(config-subif)# dot1q vlan 10
RP/0/RSP0/CPU0:router(config-subif)# ipv4 addr 10.0.0.1/24
This example shows how to configure the VLAN IDs for both VLANS in a single Q-in-Q attachment circuit
(AC). In this case, incoming traffic must match both of the VLAN IDs before it is accepted by the subinterface:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/2/0/4.1
RP/0/RSP0/CPU0:router(config-subif)# dot1q vlan 10 20
This example shows how to configure the VLAN IDs for a Q-in-any AC. In this case, all incoming traffic
must have two VLAN tags, where the outer VLAN ID matches the configured value, while the inner VLAN
ID can be any value.
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/2/0/4.1 l2transport
RP/0/RSP0/CPU0:router(config-subif)# dot1q vlan 10 any
Related Commands
Command
show interfaces, on page 516
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Operations
read, write
Description
Displays statistics for all interfaces configured on the router or for
a specific node.
dot1q vlan
Release 5.3.x
1091

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents