Configuring line rate, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S3600 Series Switches User Manual
Page 749: Configuration example, Configuring traffic redirecting
1-19
[Sysname-Ethernet1/0/1] traffic-limit inbound ip-group 2000 128 exceed remark-dscp 56
Configuring Line Rate
Refer to section
for information about line rate.
Configuration prerequisites
z
The port on which line rate configuration is to be performed has been determined.
z
The target rate and the direction of rate limiting (inbound or outbound) have been determined.
Configuration procedure
Follow these steps to configure line rate:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface interface-type
interface-number
—
Configure line rate
line-rate { inbound |
outbound } target-rate
[ burst-bucket
burst-bucket-size ]
Required
Specify a committed information
rate (CIR) for the target-rate
argument, and specify a
committed bust size (CBS) for the
burst-bucket-size argument.
By default, line rate is disabled.
Configuration example
z
Configure line rate for outbound packets on Ethernet 1/0/1.
z
The rate limit is 1,024 Kbps
Configuration procedure:
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] line-rate outbound 1024
Configuring Traffic Redirecting
Refer to section
for information about traffic redirecting.
Configuration prerequisites
z
The ACL rules used for traffic classification have been defined. Refer to the ACL module of this
manual for information about defining ACL rules.
z
The traffic redirecting destination has been determined.
z
The ports that need this configuration have been determined.
Configuration procedure
Follow these steps to configure traffic redirecting:
To do…
Use the command…
Remarks
Enter system view
system-view
—