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-3
When the specified upstream port is available, the configuration of the raw-vlan-id
inbound command remains even if the upstream port configuration or untagged
attribute in this configuration is modified. When the upstream port is unavailable, the
configuration of the raw-vlan-id inbound command is removed if this configuration is
modified.
Caution:
z This command must be configured on the port that that will receive private network
packets. Before using this command, make sure to carry out the vlan-vpn enable
command on the port.
z The configured uplink port needs to be added into the VLAN corresponding to the
outer tag before the selective QinQ feature can function properly.
Note that the vlan-vpn vid inbound command needs to be coupled by the raw-vlan-id
inbound command.
Examples
# Configure to use VLAN 20 tag as the outer VLAN tag of packets with the inner tag of
VLAN 10 received on Ethernet 1/0/1. Specify the upstream port as Ethernet 1/0/5 and
specify the upstream port to remove outer tags of the packets when forwarding the
packets.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet 1/0/1
[H3C-Ethernet1/0/1] vlan-vpn vid 20 uplink Ethernet 1/0/5 untagged
[H3C-Ethernet1/0/1-vid-20] raw-vlan-id inbound 10