Creating A Traffic Policy - Huawei Quidway S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - QoS
l
l
----End

1.5.4 Creating a Traffic Policy

Context
Do as follows on the S9300 where a traffic policy needs to be created.
Procedure
Step 1 Run:
system-view
Issue 03 (2009-08-20)
All the flows that match a traffic classifier are mirrored to the CPU of the LPU.
NOTE
For details about flow mirroring, see "Mirroring Configuration" in the Quidway S9300 Terabit
Routing Switch Configuration Guide - Device Management.
Configuring the action of adding outer VLAN tags to packets
1.
Run:
system-view
The system view is displayed.
2.
Run:
traffic behavior behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
3.
Run:
nest top-most vlan-id vlan-id
The action of adding an outer VLAN tag is configured.
NOTE
The nest command is used to implement the flow-based QinQ function. For description and
configuration of flow-based QinQ, see the Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet.
Configuring the traffic statistics action
1.
Run:
system-view
The system view is displayed.
2.
Run:
traffic behavior behavior-name
A traffic behavior is created and the traffic behavior view is displayed.
3.
Run:
statistic enable
The traffic statistics function is enabled.
NOTE
To collect the flow-based statistics, you must enable the traffic statistics function in a traffic
behavior.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
1 Class-based QoS Configuration
1-21

Advertisement

Table of Contents
loading

Table of Contents