3com 5500-ei pwr Guía De Referencia
2-8
z
drop: Drops the packets.
z
remark-dscp value: Sets a new DSCP value for the packets and then forwards the packets.
Description
Use the traffic-limit command to add the traffic policing action to a QoS profile.
Use the undo traffic-limit command to remove the traffic policing action from a QoS profile.
Examples
# Add traffic policing action to the QoS profile named a123 to limit the rate of the inbound packets
sourced from IP address 1.1.1.1 to 128 kbps and drop the packets exceeding 128 kbps.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 1.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] qos-profile a123
[Sysname-qos-profile-a123] traffic-limit inbound ip-group 2000 128 exceed drop
traffic-priority
Syntax
traffic-priority { inbound | outbound } acl-rule { { dscp dscp-value | ip-precedence { pre-value |
from-cos } } | cos { pre-value | from-ipprec } | local-precedence pre-value }*
undo traffic-priority { inbound | outbound } acl-rule
View
QoS profile view
Parameters
inbound: Performs priority marking on the inbound packets.
outbound: Performs priority marking on the outbound packets.
acl-rule: ACL rules to be applied for traffic classification. This argument can be the combination of
multiple ACLs. For more information about this argument, refer to
and
. Note that the
ACL rules referenced must be those defined with the permit keyword.
dscp dscp-value: Sets the DSCP precedence, in the range 0 to 63. You can also provide one of the
keywords listed in
for the dscp-value argument.
ip-precedence { pre-value | from-cos }: Sets the IP precedence. The pre-value argument ranges from
0 to 7. You can also provide one of the keywords listed in
for the pre-value argument. The
from-cos keyword specifies to use the 802.1p priority as the IP precedence.
cos { pre-value | from-ipprec }: Sets the 802.1p priority. The pre-value argument is in the range 0 to 7.
for the pre-value argument. The
from-ipprec keyword specifies to use the IP precedence as the 802.1p priority.