Applying The Traffic Policy - Huawei S3700HI Configuration Manual - Qos

Table of Contents

Advertisement

S3700HI Ethernet Switches
Configuration Guide - QoS
A traffic policy is created and the traffic policy view is displayed.
After a traffic policy is applied, you cannot use the traffic policy command to modify the
matching order of traffic classifiers in the traffic policy. To modify the matching order, unbind
the traffic policy from the system, an interface, or a VLAN where it is applied, and re-create a
traffic policy and specify the matching order.
Step 3 Run:
classifier classifier-name behavior behavior-name
A traffic classifier is bound to a traffic behavior in the traffic policy.
----End

2.3.5 Applying the Traffic Policy

The configured traffic policy takes effect only after being applied to the system or a slot, an
interface, or a VLAN.
Procedure
l
l
Issue 01 (2012-03-15)
Applying a traffic policy to the system or a slot
1.
Run:
system-view
The system view is displayed.
2.
Run:
traffic-policy policy-name global { inbound | outbound } [ slot slot-id ]
A traffic policy is applied to the system or a slot in the inbound or outbound direction.
Only one traffic policy can be applied to the system in the inbound or outbound
direction.
Only one traffic policy can be applied to a slot in the inbound or outbound direction.
A traffic policy cannot be applied to the system and a slot simultaneously. The system
performs traffic policing as follows:
– If a stack system is established, a traffic policy that is applied to the system takes
effect on all the interfaces and VLANs of all the member switches in the stack.
The system then performs traffic policing for all the incoming and outgoing packets
that match traffic classification rules on all the member switches. A traffic policy
that is applied to a specified slot takes effect on all the interfaces and VLANs of
the member switch with the specified stack ID. The system then performs traffic
policing for all the incoming and outgoing packets that match traffic classification
rules on this member switch.
– If a stack system is not established, a traffic policy that is applied to the system
takes effect on all the interfaces and VLANs of the local switch. The system then
performs traffic policing for all the incoming and outgoing packets that match
traffic classification rules on the local switch. Traffic policies applied to the slot
and system have the same functions.
Applying a traffic policy to an interface
1.
Run:
system-view
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
2 Traffic Policing and Traffic Shaping Configuration
61

Advertisement

Table of Contents
loading

Table of Contents