Traffic-Limit Vlan - H3C s3100 series Command Manual

Hide thumbs Also See for s3100 series:
Table of Contents

Advertisement

Related command: display qos-interface traffic-limit, reset traffic-limit.
Example
# Perform traffic policing for packets matching ACL 4000 on Ethernet 1/0/1. Limit the rate within 128
kbps and drop the packets exceeding the traffic limit (assuming that the current device is an S3100-EI
series switch).
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] acl number 4000
[Sysname-acl-ethernetframe-4000] rule permit source 200
[Sysname-acl-ethernetframe-4000] quit
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] traffic-limit inbound link-group 4000 128 exceed drop

traffic-limit vlan

Syntax
traffic-limit vlan vlan-id inbound acl-rule target-rate [ burst-bucket burst-bucket-size ] [ conform
con-action ] [ exceed exceed-action ] [ meter-statistic ]
undo traffic-limit vlan vlan-id inbound acl-rule [ meter-statistic ]
View
System view
Parameter
vlan-id: VLAN ID, in the range 1 to 4094.
inbound: Performs traffic policing on the inbound packets.
acl-rule: ACL rules to be applied. This argument can be the combination of multiple ACLs. For more
information about this argument, refer to
must be those defined with the permit keyword specified.
target-rate: Target traffic rate of traffic policing (in kbps). This argument is in the range 64 to 1000000.
The granularity of port rate limit is 64 Kbps. Assume that the value you provide for the target-rate
argument is in the range N*64 to (N+1)*64 (N is a natural number), it will be rounded off to (N+1)*64.
burst-bucket burst-bucket-size: Specifies the maximum burst traffic size (in kilobytes) allowed. The
burst-bucket-size argument must a multiple of 8 and ranges from 8 to 1016.
conform con-action: Sets the actions of the switch on the packets except forwarding when the packet
traffic is within the specified traffic. The actions are as follows:
remark-dscp dscp-value: Sets the DSCP precedence of the packets to the specified value. The
dscp-value argument is in the range of 0 to 63. You can also enter a keyword listed in
for this argument.
remark-cos cos-value : Sets the 802.1p precedence of the packets to the specified value. The
cos-value argument is in the range of 0 to 7. You can also enter a keyword listed in
this argument.
exceed exceed-action: Sets the actions on the part of the packets exceeding the specified traffic when
the packet traffic exceeds the specified traffic. The actions include:
Table 1-9
and
Table
1-10. Note that the ACL rules referenced
1-35
Table 1-15
Table 1-16
for

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents