Dot1Q Vlan - Cisco ASR 9000 Series Command Reference Manual

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

Advertisement

dot1q vlan

dot1q vlan
To assign a VLAN ID to a subinterface (or to modify the VLAN ID that is currently assigned to a subinterface),
use the dot1q vlan command in subinterface configuration mode. To remove the VLAN ID assigned to a
subinterface, use the no form of this command.
Note
Effective with Cisco IOS XR Release 3.7.2, the dot1q vlan command is replaced by the encapsulation
dot1q command. See the encapsulation dot1q command for more information.
dot1q vlan vlan-id [vlan-id2| any]
no dot1q vlan vlan-id
Syntax Description
vlan-id
vlan-id2
any
Command Default
No default behavior or values
Command Modes
Subinterface configuration
Command History
Release
Release 3.7.2
Usage Guidelines
The VLAN ID specifies where 802.1Q tagged packets are sent and received on a specified subinterface. An
802.1Q VLAN subinterface must have a configured VLAN ID to send and receive traffic; without a VLAN
ID, the subinterface remains in the down state. All VLAN IDs must be unique among all subinterfaces
configured on the same physical interface. To change a VLAN ID, the new VLAN must not already be in use
on the same physical interface. To exchange VLAN IDs, you must remove the configuration information and
reconfigure the ID for each device.
The subinterface does not pass traffic without an assigned VLAN ID.
Note
Cisco ASR 9000 Series Aggregation Services Router Interface and Hardware Component Command Reference,
Release 5.3.x
1090
VLAN Subinterface Commandsonthe Cisco ASR 9000 Series Router
ID of the subinterface. Range is from 1 to 4094 (0 and 4095 are reserved).
(Optional) Identifies the host VLAN of a Q-in-Q VLAN pair. Replace vlan-id2 with
a number that specifies the host VLAN. Range is from 1 to 4094.
(Optional) Identifies the host VLAN of a Q-in any VLAN pair.
Modification
This command was introduced and was also replaced by the
encapsulation dot1q command.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents