To do...
Configure traffic
shaping
Configuration example
# Configure 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.
<Sysname> system-view
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] traffic-shape 640 16
Configuring Line Rate
Refer to
Line Rate
This feature is applicable to only the H3C S5100-SI series switches.
Configuration prerequisites
The port where line rate is to be configured has been determined.
The target rate and the direction (inbound or outbound) of line rate have been
determined.
Configuration procedure
Follow these steps to configure line rate:
To do...
Enter system view
Enter Ethernet port
view
Use the command...
traffic-shape [ queue
queue-id ] max-rate
burst-size
for information about line rate.
Use the command...
system-view
interface interface-type
interface-number
Required
Disabled by default.
Traffic shaping can be configured
in one of the following two
modes:
Without
specified,
applies to all traffic.
With
specified,
applies
specified queue.
—
—
1-31
Remarks
queue
queue-id
traffic
shaping
queue
queue-id
traffic
shaping
to
traffic
in
Remarks
the