1-32
To do… Use the command… Remarks
Configure line rate
line-rate { inbound |
outbound } target-rate
Required
Disabled by default.
Configuration example
# Configure line rate for the incoming packets on GigabitEthernet 1/0/1, with the rate limit
being 1024 kbps.
<Sysname> system-view
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] line-rate inbound 1024
Configuring Traffic Redirecting
Refer to Traffic Redirecting for information about traffic redirecting.
This feature is available only on the H3C S5100-EI series switches.
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 port that the ACL matching packets are to be redirected to has been determined.
Configuration procedures
You can configure traffic redirecting for incoming packets globally, in a VLAN, in a port
group, or on a port.
1) Configuring traffic redirecting globally
Follow these steps to configure traffic redirecting for incoming packets globally:
To do… Use the command… Remarks
Enter system view
system-view
—
Configure traffic
redirecting
traffic-redirect inbound acl-rule
interface interface-type
interface-number
Required
2) Configuring traffic redirecting for a VLAN
Follow these steps to configure traffic redirecting for incoming packets in a VLAN: