if-match cvlan-id vlan-id2
The packet matching rule, that is, the inner VLAN IDs of packets matching the
classifier, is set.
5. Run:
quit
Return to the system view.
6. Run:
traffic behavior behavior-name2
A traffic behavior is created and the traffic behavior view is displayed.
7. Run:
remark vlan-id vlan-id1
The S7700 is configured to replace the outer VLAN ID of the packets matching the
traffic classifier with the specified VLAN ID.
8. Run:
quit
Return to the system view.
9. Run:
traffic policy policy-name2
A traffic policy is created and the policy view is displayed.
10. Run:
classifier classifier-name2 behavior behavior-name2
The traffic classifier is bound to the traffic behavior in the traffic policy.
11. Run:
quit
Return to the system view.
12. Run:
interface interface-type interface-number
The interface view is displayed.
13. Run:
traffic-policy policy-name2 outbound
The traffic policy is applied in the outbound direction of the interface.
----End
4.5.5 Checking the Configuration
Procedure
l Run the display current-configuration command to check the configuration of flow-based
VLAN mapping.
----End
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 4 VLAN Mapping Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
171