Configuring One-To-One Vlan Mapping - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

For many-to-one VLAN mapping, enable customer-side QinQ on the downlink port and service
provider-side QinQ on the uplink port.
To save system resources, disable user bindings recording on the DHCP snooping trusted ports
that forward DHCP packets. For information about this feature, refer to DHCP Configuration in the
IP Services Volume.

Configuring One-to-One VLAN Mapping

Perform one-to-one VLAN mapping on the corridor switches shown in
isolate different services of different users.
Configuring One-to-One VLAN Mapping
Configuration prerequisites
The CVLAN-to-SVLAN mappings have been planned.
Configuration procedure
Follow these steps to configure a one-to-one VLAN mapping:
Enter system view
Create a CVLAN
and a SVLAN
Configure an uplink policy to map the
CVLAN to the SVLAN
Configure a downlink policy to map the
SVLAN to the original CVLAN
Enter interface view of the downlink
port
Set the link type of the downlink port to
trunk
Configure the downlink port to permit
the specified CVLANs and SVLANs or
all VLANs to pass through
Enable basic QinQ on the port
Apply the uplink policy to the inbound
direction of the downlink port
Apply the downlink policy to the
outbound direction of the downlink port
Exit to system view
Enter the interface view of the uplink
port
To do...
Create a VLAN
Exit to system
view
Use the command...
system-view
vlan vlan-id
quit
Refer to
Table 1-1
Refer to
Table 1-2
interface interface-type
interface-number
port link-type trunk
port trunk permit vlan
{ vlan-id-list | all }
qing enable
qos apply policy policy-name
inbound
qos apply policy policy-name
outbound
quit
interface interface-type
interface-number
1-6
Figure 1-1
to use VLANs to
Remarks
Required
By default, only the
default VLAN (VLAN 1)
exists.
Repeat these steps for
all CVLANs and SVLANs
involved in VLAN
mapping.
Required
Required
Required
Required
By default, a trunk port
permits only VLAN 1 to
pass through.
Required
Required
Required

Advertisement

Chapters

Table of Contents
loading

Table of Contents