R2511-HP MSR Router Series ACL and QoS Configuration Guide(V5)
38
Configuring ACL-based traffic policing
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure an ACL.
See "Configuring ACLs."
Configure rules for the ACL.
3. Enter interface view
or port group view.
• Enter interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual port-group-name
Use one of the commands.
Settings in interface view take effect
on the current interface. Settings in
port group view take effect on all
ports in the port group.
4. Configure an ACL
based CAR policy on
the interface or port
group.
qos car { inbound | outbound } acl [ ipv6 ]
acl-number cir committed-information-rate
[ cbs committed-burst-size [ ebs
excess-burst-size ] ] [ green action ] [ red
action ]
N/A
Configuring traffic policing for all traffic
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter interface view
or port group view.
• Enter interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual port-group-name
Use one of the commands.
Settings in interface view take effect
on the current interface. Settings in
port group view take effect on all
ports in the port group.
3. Configure a CAR
action for all traffic on
the interface or port
group.
qos car { inbound | outbound } any cir
committed-information-rate [ cbs
committed-burst-size [ ebs
excess-burst-size ] ] [ green action ] [ red
action ]
N/A
Configuring GTS
GTS for software forwarding does not support IPv6.
Do not configure GTS on a main interface and its subinterfaces at the same time.
Configuring GTS in policy approach
To configure GTS in policy approach:
Ste
p
Command
1. Enter system view.
system-view
2. Create a class and enter class view.
traffic classifier classifier-name [ operator { and | or } ]
3. Configure match criteria.
if-match [ not ] match-criteria
4. Return to system view.
quit










