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