beautypg.com

Enabling the selective qinq feature for a port, Selective qinq configuration example, Processing private network packets by their types – H3C Technologies H3C S3100 Series Switches User Manual

Page 847: Network requirements

background image

2-3

Configuring Global Tag Mapping Rules for Selective QinQ

Table 2-1 Configure global tag mapping rules for selective QinQ

Operation

Command

Description

Enter system view

system-view

Configure the outer VLAN tag
and enter QinQ view

vlan-vpn vid vlan-id

Required

Configure to add outer VLAN
tags to the packets with the
specific inner VLAN tags

raw-vlan-id inbound
vlan-id-list

Required

By default, the feature of
adding an outer VLAN tag to
the packets with the specific
inner VLAN tags is disabled.

Do not enable both the selective QinQ function and the DHCP snooping function on a switch. Otherwise,

the DHCP snooping function may operate improperly.

Enabling the Selective QinQ Feature for a Port

Table 2-2 Enable the selective QinQ feature

Operation

Command

Description

Enter system view

system-view

Enter Ethernet port view

interface interface-type
interface-number

Enable the selective QinQ
feature

vlan-vpn selective enable

Required

By default, the selective QinQ
feature is not enabled on a port.

Selective QinQ Configuration Example

Processing Private Network Packets by Their Types

Network requirements

z

Ethernet 1/0/3 of Switch A provides public network access for PC users and IP phone users. PC

users belong to VLAN 100 through VLAN 108, and IP phone users belong to VLAN 200 through

VLAN 230. Ethernet 1/0/5 of Switch A is connected to the public network. The peer end of Switch A

is Switch B.

z

Ethernet 1/0/11 of Switch B is connected to the public network. Ethernet 1/0/12 and Ethernet1/0/13

of Switch B provide network access for PC servers belonging to VLAN 100 through VLAN 108 and

voice gateways (for IP phone users) belonging to VLAN 200 through VLAN 230 respectively.