310 CHAPTER 8: USING QOS/ACL COMMANDS
■ drop: Drops packets.
■ remark-dscp
value
: Sets a new DSCP value.
Description
Use the traffic-limit command to add traffic policing action in the QoS profile,
with the granularity of 64 kbps.
Use the undo traffic-limit command to remove traffic policing action from the
QoS profile.
You cannot remove traffic policing action from the specific QoS profile which has
been applied to the port.
Example
To add to the qos-profile student this traffic policing action: Limits traffic for the
packets matching ACL 2000, the target rate is 128 kbps, drop the packets at a
rate exceeding this target rate, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z
[SW5500]qos-profile student
[SW5500-qos-profilestudent]traffic-limit inbound ip-group 2000 128
exceed drop
traffic-priority Syntax
traffic-priority inbound { ip-group
acl-number
[ rule
rule
[
link-group
acl-number
rule
rule
] ] | link-group
acl-number
[ rule
rule
] } { { dscp
dscp-value
| ip-precedence {
pre-value
| from-cos }
} | {
pre-value
| from-ipprec } | local-precedence
pre-value
}*
undo traffic-priority inbound { user-group
acl-number
[ rule
rule
]
| ip-group
acl-number
[ rule
rule
[ link-group
acl-number
rule
rule
] ] | link-group
acl-number
[ rule
rule
] }
View
QoS Profile View
Parameter
inbound: Replaces the preference value for the inbound packets on the port.
ip-group
acl-number
: Basic or advanced ACL,
acl-number
is in the range 2000
to 3999
link-group
acl-number
: Layer 2 ACL,
acl-number
is in the range 4000 to 4999
rule
rule
: Specifies a match statement in the ACL, in the range 0 to in the range
0 to 65534. All match statements are selected if you skip this keyword.
dscp
dscp-value
: Sets DSCP preference value, in the range 0 to 63.