Return to the system view.
5. Run:
traffic behavior behavior-name2
A traffic behavior is created and the traffic behavior view is displayed.
6. Run:
remark vlan-id vlan-id1
The S7700 is configured to replace the original VLAN ID of the packets matching the
traffic classifier with the specified VLAN ID.
7. Run:
quit
Return to the system view.
8. Run:
traffic policy policy-name2
A traffic policy is created and the policy view is displayed.
9. Run:
classifier classifier-name2 behavior behavior-name2
The traffic classifier is bound to the traffic behavior in the traffic policy.
10. Run:
quit
Return to the system view.
11. Run:
interface interface-type interface-number
The interface view is displayed.
12. Run:
traffic-policy policy-name2 outbound
The traffic policy is applied in the outbound direction of the interface.
----End
4.5.3 Replacing Double Tags
Context
Do as follows as the S7700 that needs to replace double tags of packets.
Procedure
l Applying a traffic policy in the inbound direction of an interface
1. Run:
system-view
The system view is displayed.
2. Run:
traffic classifier classifier-name1 operator and
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.
166