R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Command Reference
150
# Set the TPID value in the SVLAN tags to 0x9100 on GigabitEthernet 4/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] qinq ethernet-type service-tag 9100
qinq transparent-vlan
Use qinq transparent-vlan to configure VLAN transparent transmission on one or multiple ports, so the
port or ports can transparently transmit frames from the specified VLANs.
Use undo qinq transparent-vlan to remove the configuration.
Syntax
qinq transparent-vlan vlan-list
undo qinq transparent-vlan { vlan-list | all }
Default
VLAN transparent transmission is not configured on ports.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default command level
2: System level
Parameters
vlan-list: Specifies a list of existing VLANs in the format of vlan-list = { vlan-id1 [ to vlan-id2 ] }&<1-10>,
where vlan-id1 and vlan-id2 represent the VLAN IDs and each is in the range of 1 to 4094, vlan-id2 must
be no smaller than vlan-id1, and &<1-10> indicates that you can specify up to 10 VLAN IDs or VLAN ID
ranges.
all: Specifies all VLANs.
Usage guidelines
Configured in Layer 2 Ethernet interface view, the command takes effect on the interface only.
Configured in Layer 2 aggregate interface view, the command takes effect on the Layer 2 aggregate
interface and all the member ports in the aggregation group.
Configured in port group view, the command takes effect on all ports in the port group.
Examples
# Enable basic QinQ on GigabitEthernet 4/0/1, and configure GigabitEthernet 4/0/1 to transparently
transmit frames from VLAN 2, VLAN 3, and VLAN 50 through VLAN 100.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/0/1
[Sysname-GigabitEthernet4/0/1] port link-type trunk
[Sysname-GigabitEthernet4/0/1] port trunk permit vlan 2 3 50 to 100
[Sysname-GigabitEthernet4/0/1] qinq enable
[Sysname-GigabitEthernet4/0/1] qinq transparent-vlan 2 3 50 to 100










