10-3
Examples
# Configure GigabitEthernet 1/0/1 to tag frames of VLAN 3, VLAN 5, and VLAN 20 through VLAN 100
with SVLAN 100.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qinq vid 100
[Sysname-GigabitEthernet1/0/1-vid-100] raw-vlan-id inbound 3 5 20 to 100
qinq enable
Syntax
qinq enable
undo qinq enable
View
Ethernet interface view, Layer-2 aggregate interface view, port group view
Default Level
2: System level
Parameters
None
Description
Use the
qinq enable
command to enable basic QinQ on the current Ethernet port(s).
Use the
undo qinq enable
command to disable basic QinQ on the current Ethernet port(s).
By default, basic QinQ is disabled on Ethernet ports.
A basic QinQ-enabled port tags received frames with the port’s default VLAN tag.
Note that:
z
Configuration made in Ethernet interface view takes effect on the current port only. Configuration
made in Layer-2 aggregate interface view takes effect on the Layer-2 aggregate interface and the
member ports in its aggregation group. Configuration made in port group view takes effect on all
ports in the port group.
z
You can configure this command on a Layer-2 aggregate interface and its member ports
separately. Configuration made on an aggregation member port takes effect immediately. For
detailed information about link aggregation, refer to
Link Aggregation Configuration
in the
Access
Volume
.
Examples
# Enable basic QinQ on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] qinq enable
# Enable basic QinQ on port group 1.
<Sysname> system-view
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...