R0106-HP MSR Router Series ACL and QoS Configuration Guide(V7)

38
Configuring ACL-based traffic policing
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Configure an
ACL-based CAR policy
on the interface.
qos car { inbound | outbound } acl [ ipv6 ]
acl-number cir committed-information-rate
[ cbs committed-burst-size [ ebs
excess-burst-size ] ] [ pir
peak-information-rate ] [ green action |
red action | yellow action ] *
By default, no CAR policy is
configured on an interface.
Configuring traffic policing for all traffic
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view.
interface interface-type interface-number N/A
3. Configure a CAR
policy for all traffic on
the interface.
qos car { inbound | outbound } any cir
committed-information-rate [ cbs
committed-burst-size [ ebs
excess-burst-size ] ] [ pir
peak-information-rate ] [ green action |
red action | yellow action ] *
By default, no CAR policy is
configured on an interface.
Configuring GTS
You can configure GTS by using either the MQC approach or non-MQC approach.
Configuring GTS by using the MQC approach
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Create a class and enter
class view.
traffic classifier classifier-name [ operator
{ and | or } ]
By default, no class is created.
3. Configure match criteria.
if-match [ not ] match-criteria
By default, no match criterion
is configured.
For configurable match
criteria, see the if-match
command in ACL and QoS
Command Reference.
4. Return to system view.
quit N/A
5. Create a behavior and
enter behavior view.
traffic behavior behavior-name
By default, no behavior is
created.