Traffic-Priority - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

When you configure the traffic policing over a port, an ACL rule can only be applied to one egress
port. If you configure the same ACL rule for different egress ports, only the last configuration takes
effect. To apply the same ACL rule to multiple egress ports, you need to specify different ACL
numbers or rule numbers for the ACL rule.
If the IRF function is enabled, the egress port can only be a port of the local unit. For information
about IRF, refer to IRF Fabric module of this manual.
Do not specify the egress-port keyword when configuring traffic policing on ports in an
aggregation group spanning multiple units. Refer to Link Aggregation Operation for detailed
information about link aggregation.
target-rate: Target packet rate (in kbps) to be set, in the range 64 to 1,000,000. The granularity of rate
limit is 64 kbps. If the number you input is in the ranges N*64 to (N+1)*64 (N is a natural number), it will
be rounded off to (N+1)*64.
burst-bucket-size: Maximum burst traffic size (in KB) allowed, in the range 4 to 512. This argument
defaults to 512 and must be an integer power of 2.
exceed action: Specifies the action to be taken when the traffic rate exceeds the threshold. The action
can be:
drop: Drops the packets.
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
2-7

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents