[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] traffic-limit inbound ip-group 2000 128 exceed
remark-dscp 56
Configuring Line Rate
Refer to section
Configuration prerequisites
The port on which line rate configuration is to be performed has been determined.
The target rate has been determined.
Configuration procedure
Follow these steps to configure line rate:
To do...
Enter system view
Enter Ethernet port view
Configure line rate
Configuration example
# Set the line rate to 1024 kbps for outbound packets on GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] line-rate outbound 1024
Configuring Traffic Redirecting
Refer to section
Configuration prerequisites
The ACL rules used for traffic classification have been defined. Refer to the ACL
module of this manual for information about defining ACL rules.
The traffic redirecting destination has been determined.
The ports that need this configuration have been determined.
Configuration procedure
Follow these steps to configure traffic redirecting:
To do...
Enter system view
Line Rate
for information about line rate.
Use the command...
system-view
interface interface-type
interface-number
line-rate outbound
target-rate [ burst-bucket
burst-bucket-size ]
Traffic Redirecting
for information about traffic redirecting.
Use the command...
system-view
—
—
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.
—
1-18
Remarks
Remarks