3com WX3000 User Manual

Page of 715
 
1-23 
Configuration procedure 
Follow these steps to configure traffic shaping: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Enter Ethernet port view 
interface interface-type 
interface-number 
 
Configure traffic shaping 
traffic-shape [ queue 
queue-id ] max-rate 
burst-size 
Required 
Traffic shaping is not enabled by 
default. 
Traffic shaping can be performed in 
one of the following two modes: 
With the queue queue-id keyword 
and argument combination not 
specified, traffic shaping is 
performed for all the traffic. 
With the queue queue-id keyword 
and argument combination 
specified, traffic shaping is 
performed for the traffic in the 
specific output queue. 
 
Configuration examples 
# Perform traffic shaping for all the traffic to be transmitted through GigabitEthernet 1/0/1, with the 
maximum traffic rate being 640 kbps and the burst size being 16 kbytes. 
<device> system-view 
[device] interface GigabitEthernet1/0/1 
[device-GigabitEthernet1/0/1] traffic-shape 640 16 
Configuring Traffic Redirecting 
Refer to 
 for information about traffic redirecting. 
Configuration prerequisites 
The ACL rules used for traffic classification are defined. Refer to the ACL module of this manual for 
information about defining ACL rules. 
The port which the packets matching the specified ACL rules are to be redirected to is determined. 
Configuration procedure 
You can redirect all the packets matching specific ACL rules, or packets that match specific ACL rules 
and are of a VLAN, of a port group, or pass a port. 
Follow these steps to redirect all the packets matching specific ACL rules: 
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