Figure 55
Network diagram for one-to-one VLAN mapping configuration
Configuration procedure
NOTE:
In this example, one-to-one VLAN mappings are configured with a global QoS policy.
# Create the CVLANs and SVLANs.
<SwitchA> system-view
[SwitchA] vlan 2 to 6
[SwitchA] vlan 101 to 102
[SwitchA] vlan 201 to 202
[SwitchA] vlan 301 to 302
# Configure uplink policy
p1
to transmit one service of one customer in a unique SVLAN, and globally
apply the policy.
[SwitchA] traffic classifier c1
[SwitchA-classifier-c1] if-match customer-vlan-id 1
[SwitchA-classifier-c1] traffic classifier c2
[SwitchA-classifier-c2] if-match customer-vlan-id 2
[SwitchA-classifier-c2] traffic classifier c3
[SwitchA-classifier-c3] if-match customer-vlan-id 3
[SwitchA-classifier-c3] traffic classifier c4
[SwitchA-classifier-c4] if-match customer-vlan-id 4
[SwitchA-classifier-c4] traffic classifier c5
[SwitchA-classifier-c5] if-match customer-vlan-id 5
[SwitchA-classifier-c5] traffic classifier c6
[SwitchA-classifier-c6] if-match customer-vlan-id 6
[SwitchA-classifier-c6] quit
[SwitchA] traffic behavior b1
[SwitchA-behavior-b1] remark service-vlan-id 101
[SwitchA-behavior-b1] traffic behavior b2
[SwitchA-behavior-b2] remark service-vlan-id 201
161