H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – QinQ
H3C S7500 Series Ethernet Switches Chapter 2
Selective QinQ Configuration Commands
2-1
Chapter 2 Selective QinQ Configuration
Commands
Note:
You can implement traffic-based selective QinQ on an S7500 switch by using ACLs
and QoS techniques. Refer to the QoS part of this manual for related commands and
operations.
2.1 Selective QinQ Configuration Commands
2.1.1 raw-vlan-id inbound
Syntax
raw-vlan-id inbound vlan-id-list
undo raw-vlan-id inbound { all | vlan-id-list }
View
QinQ view
Parameters
vlan-id-list: List of VLAN IDs. You need to provide this argument in the form of
vlan-id-list = { vlan-id | [ to { vlan-id } ] } & <1-10>, where & <1-10> means that you can
provide up to ten VLAN IDs/VLAN ID lists.
all: Specifies the packets of all the VLANs.
As for the vlan-id-list argument, the value of 1 to 4095 is not supported due to limited
ACL resources.
Description
Use the raw-vlan-id inbound command to specify the outer VLAN tag to be inserted to
the packets with the specified inner VLAN tags. This command is used in the inbound
direction of the selective QinQ function on the port.
Use the undo raw-vlan-id inbound command to remove the configuration.
Note that the raw-vlan-id inbound command needs to be coupled by the vlan-vpn vid
command.