167
Configured in Layer 2 aggregate interface view, this command takes effect on the Layer 2 aggregate
interface and the member ports in its aggregation group. You can configure this command on a Layer 2
aggregate interface and its member ports separately. Configured on an aggregation member port, this
command takes effect immediately. For more information about link aggregation, see the
Layer 2—LAN
Switching Configuration Guide
.
Examples
# Set the TPID value to 0x9100 on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qinq ethernet-type 9100
# Set the TPID value to 0x9100 for all ports in port group 1.
<Sysname> system-view
[Sysname] port-group manual 1
[Sysname-port-group-manual-1] group-member gigabitethernet 1/0/1 to gigabitethernet
1/0/6
[Sysname-port-group-manual-1] qinq ethernet-type 9100
qinq vid
Syntax
qinq vid
vlan-id
undo qinq vid
vlan-id
View
Layer 2 ethernet interface view, Layer 2 aggregate interface view, port group view
Default Level
2: System level
Parameters
vlan-id
: Outer VLAN ID, ranging from 1 to 4094.
Description
Use the
qinq vid
command to enter QinQ view and configure the outer VLAN tag for the port to add.
Use the
undo qinq vid
command to remove all configurations corresponding to the outer VLAN ID
performed in QinQ view.
By default, the outer VLAN tag is the port’s default VLAN tag.
Configured in Ethernet interface view, this command takes effect on the current port only.
Configured in port group view, this command takes effect on all ports in the port group.
Configured in Layer 2 aggregate interface view, this command takes effect on the Layer 2 aggregate
interface and the member ports in its aggregation group. You can configure this command on a Layer 2
aggregate interface and its member ports separately. Configured on an aggregation member port, this
command takes effect immediately. For more information about link aggregation, see the
Layer 2—LAN
Switching Configuration Guide
.
Related commands:
raw-vlan-id inbound
and
qinq ethernet-type.