- Table of Contents
-
- 03-Layer 2 Command Reference
- 00-Preface
- 01-Ethernet Interface Commands
- 02-Loopback and Null Interface Commands
- 03-VLAN Commands
- 04-MAC Address Table Commands
- 05-Ethernet Link Aggregation Commands
- 06-Spanning Tree Commands
- 07-Layer 2 Forwarding Commands
- 08-PPP Commands
- 09-QinQ Commands
- 10-VLAN Termination Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
10-VLAN Termination Commands | 53.93 KB |
second-dot1q
Syntax
second-dot1q vlan-id
undo second-dot1q vlan-id
Views
VLAN interface view
Default command level
2: System level
Parameters
vlan-id: Specifies a Layer 2 VLAN ID, which ranges from 1 to 4094.
Usage guidelines
Use second-dot1q to enable QinQ termination, and specify the Layer 2 VLAN IDs of the VLAN-tagged packets that can be terminated by the interface. The Layer 1 VLAN ID of VLAN-tagged packets that can be terminated by the interface is the interface number, and is not configurable.
Use undo second-dot1q to restore the default.
By default, QinQ termination is disabled.
After you cancel all the VLAN IDs related to QinQ termination, the interface will restart, and the ARP table entry corresponding to the interface will be removed.
Support for the second-dot1q command may vary depending on your device model. For more information, see About the WX Series Access Controllers Command References.
Examples
# Configure VLAN-interface 12 to terminate VLAN-tagged packets with Layer 2 VLAN ID 100.
<Sysname> system-view
[Sysname] interface vlan-interface 12
[Sysname-Vlan-interface12] second-dot1q 100