R3303-HP HSR6800 Routers Layer 2 - LAN Switching Command Reference
152
Syntax
qinq ethernet-type service-tag hex-value
undo qinq ethernet-type service-tag
Default
The TPID value is 0x8100 for SVLAN tags.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default command level
2: System level
Parameters
hex-value: Specifies a hexadecimal TPID value. The value range is 0x0001 to 0xFFFF, excluding the
EtherType values in 错误!未找到引用源。.
Description
SVLAN TPIDs are configurable on a per-port basis. A service provider-side port uses the SVLAN TPID to
replace the TPID in outgoing frames' SVLAN tags and to match incoming tagged frames. An incoming
frame is handled as an untagged frame if the TPID in its outer VLAN tag is different from the SVLAN TPID.
You can use this command in the following views:
• In Layer 2 Ethernet interface view, the command takes effect on the port only.
• In Layer 2 aggregate interface view, the command takes effect on the Layer 2 aggregate interface
and all member ports in the aggregation group.
• In port group view, the command takes effect on all ports in the port group.
Examples
# Set the SVLAN TPID 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 enable transparent transmission for a list of VLANs on a port.
Use undo qinq transparent-vlan to disable transparent transmission for a list of VLANs on a port.
Syntax
qinq transparent-vlan vlan-list
undo qinq transparent-vlan { vlan-list | all }
Default
Transparent transmission is not configured for any VLANs on a port.
Views
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view