Configuring one-to-one vlan mapping, Configuration prerequisites, Configuring an uplink policy – H3C Technologies H3C S7500E Series Switches User Manual
Page 290
21-7
Task
Switch role
Configuring One-to-Two VLAN Mapping
Edge switch between SP networks, for example, PE 1
Configuring Two-to-Two VLAN Mapping
Edge switch between SP networks, for example, PE 3
in
Configuring One-to-One VLAN Mapping
Perform one-to-one VLAN mapping on wiring-closet switches (see
) to isolate traffic by
both user and traffic type.
Perform these tasks to configure one-to-one VLAN mapping:
Task
Description
Creates CVLAN-to-SVLAN mappings (required).
Creates SVLAN-to-CVLAN mappings (required).
Configuring the customer-side port
Configures settings required for one-to-one VLAN mapping
(required).
Configuring the network-side port
Configures VLAN settings required for normal communication
(required).
Configuration prerequisites
Create CVLANs and SVLANs, and plan CVLAN-SVLAN mappings.
Configuring an uplink policy
Follow these steps to configure an uplink policy to map each CVLAN to a unique SVLAN:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Create a class and enter class
view
traffic classifier
tcl-name [ operator { and |
or
} ]
Specify a CVLAN as the match
criterion
if-match customer-vlan-id vlan-id
Return to system view
quit
Required
Repeat these steps to
configure one class
for each CVLAN.
Create a traffic behavior and enter
traffic behavior view
traffic behavior behavior-name
Configure an SVLAN marking
action
remark service-vlan-id vlan-id
Return to system view
quit
Required
Repeat these steps to
configure one
behavior for each
SVLAN.