Command Manual (For Soliton) – VLAN-VPN
H3C S3100 Series Ethernet Switches
Chapter 1 VLAN-VPN Configuration Commands
1-2
Field
Description
VLAN-VPN VLAN
The VLAN corresponding to the tag that the port tags
packets with, that is, the default VLAN of the port
1.1.2 vlan-vpn enable
Syntax
vlan-vpn enable
undo vlan-vpn
View
Ethernet port view
Parameters
None
Description
Use the
vlan-vpn enable
command to enable the VLAN-VPN feature for a port.
Use the
undo vlan-vpn
command to disable the VLAN-VPN feature for a port.
By default, the VLAN-VPN feature is disabled.
With the VLAN-VPN feature enabled, a received packet is tagged with the default
VLAN tag of the receiving port no matter whether or not the packet already carries a
VLAN tag.
z
If the packet already carries a VLAN tag, the packet becomes a dual-tagged
packet.
z
Otherwise, the packet becomes a packet carrying the default VLAN tag of the port.
You can use the
display port vlan-vpn
command to display the configuration
information of VLAN-VPN on the ports to verity your configuration.
After the VLAN-VPN function is enabled, you can use the
vlan-vpn vid
command and
the
raw-vlan-id inbound
command to configure the selective QinQ function. Refer to
Selective QinQ Configuration Commands
for details.
Examples
# Enable the VLAN-VPN feature for Ethernet 1/0/1 port.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] vlan-vpn enable