Command Manual (For Soliton) – VLAN-VPN
H3C S3100 Series Ethernet Switches
Chapter 2 Selective QinQ Configuration Commands
2-2
Before configuring this command in QinQ view, you need to use the
vlan-vpn vid
command to configure the outer VLAN tag to be used in the selective QinQ policy.
Related commands:
vlan-vpn vid
.
Examples
# Configure Switch to add the tag of VLAN 20 as the outer tag to packets with their inner
VLAN IDs being 8 through 15.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan-vpn vid 20
[Sysname-vid-20] raw-vlan-id inbound 8 to 15
2.1.2 vlan-vpn vid
Syntax
vlan-vpn vid
vlan-id
undo vlan-vpn vid vlan-id
View
System view
Parameters
vlan-id
: VLAN ID, in the range 1 to 4094.
Description
Use the
vlan-vpn vid
command to configure the outer VLAN tag for a selective QinQ
policy (that is, the outer VLAN tag to be used by a port to encapsulate received packets)
and to enter QinQ view.
Use the
undo vlan-vpn vid
command to remove the configured outer VLAN tag. Note
that this command will also remove all configurations configured by the
raw-vlan-id
inbound
command in QinQ view.
By default, no selective QinQ policy is configured on a port.
After specifying an outer VLAN tag and enter QinQ view, you need to use the
raw-vlan-id inbound
command to specify which VLANs’ packets will be encapsulated
with the specified outer VLAN tag. Otherwise, the configuration of the outer VLAN tag is
of no use.
Related commands:
raw-vlan-id inbound
.