H3C S3100-52P Command Manual page 11

Vlan-vpn
Hide thumbs Also See for S3100-52P:
Table of Contents

Advertisement

Command Manual – VLAN-VPN
H3C S3100-52P Ethernet Switch
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.
Before configuring this command on a port, make sure that the vlan-vpn enable
command is configured on the port.
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.
Examples
# Specify Ethernet 1/0/1 add VLAN 20 tag as the outer tag to the packets with their
inner VLAN IDs being 2 through 14.
<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 2 to 14
Chapter 2 Selective QinQ Configuration Commands
2-4

Advertisement

Table of Contents
loading

Table of Contents