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.
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
vlan-vpn vid
Syntax
vlan-vpn vid vlan-id
undo vlan-vpn vid vlan-id
View
Ethernet port 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.
2-3
Need help?
Do you have a question about the s3600 series and is the answer not in the manual?
Questions and answers