15. Run:
port trunk allow-pass vlan vlan-id3
The interface is added to the VLANs specified by the translated VLAN IDs.
16. Run:
traffic-policy policy-name1 inbound
The traffic policy is applied in the inbound direction of the interface.
l Applying a traffic policy in the outbound direction of an interface
1. Run:
system-view
The system view is displayed.
2. Run:
traffic classifier classifier-name2 operator and
A traffic classifier is created and the traffic classifier view is displayed.
3. Run:
if-match vlan-id vlan-id3
The packet matching rule, that is, the outer VLAN ID of packets matching the
classifier, is set.
4. Run:
if-match cvlan-id vlan-id4
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:
remark cvlan-id vlan-id2
The S7700 is configured to replace the inner VLAN ID of the packets matching the
traffic classifier with the specified VLAN ID.
9. Run:
quit
Return to the system view.
10. Run:
traffic policy policy-name2
A traffic policy is created and the policy view is displayed.
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.
168