H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – QoS
H3C S7500 Series Ethernet Switches Chapter 1
QoS Commands
1-26
z drop: Drops the packets.
z remark-dscp value: Sets a new DSCP value.
Description
Use the traffic-limit command to activate an ACL for traffic identifying and perform
traffic policing.
Use the undo traffic-limit command to remove traffic policing.
This command performs traffic limit on the packets matching the permit rule in an ACL
only.
Note:
Only the permit rule can be referenced in this command and applied to hardware.
Examples
# Perform traffic limit on the packets matching the permit rule in ACL 2000 on Ethernet
2/0/1 of a type-A LPU. The maximum rate is 128 kbps.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/0/1
[H3C-Ethernet2/0/1] qos
[H3C-qoss-Ethernet2/0/1] traffic-limit inbound ip-group 2000 128
# Perform traffic limit on the packets matching the permit rule in ACL 2000 on
GigabitEthernet 2/0/1 of a non-type-A LPU. The maximum rate is 128 kbps.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface GigabitEthernet2/0/1
[H3C-GigabitEthernet2/0/1] qos
[H3C-qosb-GigabitEthernet2/0/1] traffic-limit inbound ip-group 2000 kbps 128
1.1.23 traffic-priority
Syntax
I. For type-A LPUs:
traffic-priority { inbound | outbound } acl-rule [ system-index ] { { dscp dscp-value |
ip-precedence pre-value } | local-precedence pre-value }*
undo traffic-priority { inbound | outbound } acl-rule