Command Manual – VLAN-VPN
H3C S3100-52P Ethernet Switch
all: Removes all configurations of encapsulating an outer VLAN tag for specified inner
VLANs in the current view.
Description
Use the raw-vlan-id inbound command to specify to encapsulate packets with the
specified inner VLAN tags with the specified outer tag. This command must be
configured on ports connecting the user network.
Use the undo raw-vlan-id inbound command to remove the configuration.
By default, the switch does not encapsulate packets with any outer VLAN tag.
Caution:
A packet cannot be tagged with different outer VLAN tags. To change the outer VLAN
tag of a packet, you need to remove the existing outer VLAN tag configuration and
configure a new outer VLAN tag.
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 Ethernet 1/0/1 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] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] vlan-vpn vid 20
[Sysname-Ethernet1/0/1-vid-20] raw-vlan-id inbound 8 to 15
2.1.3 vlan-vpn vid
Syntax
vlan-vpn vid vlan-id
undo vlan-vpn vid vlan-id
View
Ethernet port view
Chapter 2 Selective QinQ Configuration Commands
2-3
Need help?
Do you have a question about the S3100-52P and is the answer not in the manual?
Questions and answers