Huawei Quidway S9300 Configuration Manual page 118

Terabit routing switch
Table of Contents

Advertisement

4 VLAN Mapping Configuration
l
4-14
12. Run:
interface interface-type interface-number
The interface view is displayed.
13. Run:
port link-type trunk
The link type of the interface is set to trunk.
14. Run:
port trunk allow-pass vlan vlan-id3
The interface is added to the VLAN specified by the translated VLAN ID.
15. Run:
traffic-policy name1 inbound
The traffic policy is applied in the inbound direction of the interface.
Applying a traffic policy in the outbound direction of an interface
1.
Run:
system-view
The system view is displayed.
2.
Run:
traffic 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-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 name2
A traffic behavior is created and the traffic behavior view is displayed.
7.
Run:
remark vlan-id vlan-id1
The S9300 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 name2
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents