3Com Switch 4200G Configuration Guide
Configuring Queue-scheduling 231
Configuration Example Perform TS on all the traffic on the GigabitEthernet1/0/1. Set the max rate to 650kbps
and the burst size to 12kbytes.
<S4200G> system-view
System View: return to User View with Ctrl+Z.
[4200G] interface gigabitEthernet1/0/1
[4200G-GigabitEthernet1/0/1] traffic-shape 650 12
Configuring
Queue-scheduling
Refer to Queue Scheduling for the introduction to queue scheduling.
Configuration
Prerequisites
■ The queue-scheduling algorithm is specified: which queues adopt the SDWRR
queue-scheduling algorithm and which queues adopts the SP queue-scheduling
algorithm
■ If the SDWRR queue-scheduling algorithm is adopted, the queues and their
weights in WRR scheduling group1 and WRR scheduling group2 must be specified
Configuration Procedure
of the SP Queue
Scheduling
Start TS and send the
packets at a even rate
traffic-shape [ queue
queue-id ] max-rate burst-size
Required
The switch supports two forms of TS:
■ TS for all the traffic on the port.
The function can be implemented
when the queue queue-id
keyword is not specified in the
traffic command
■ The function of TS for the
specified output queues can be
implemented when the queue
queue-id keyword is specified in
the traffic-shape command.
Display the parameter
configurations of TS
display qos-interface
{ interface-type
interface-num | unit-id }
traffic-shape
Optional
You can execute the display
command in any view
Display all the QoS settings
of the port
display qos-interface
{ interface-type
interface-num | unit-id } all
Table 198 Configuring TS
Table 199 Configuring the SP queue scheduling
Operation Command Description
Enter system view system-view -
Set the SP
queue-scheduling
algorithm
undo queue-scheduler [
queue-id ] &<1-8>
Optional
All the output queues on the
ports of the switch adopt the SP
queue-scheduling algorithm by
default
Display the
queue-scheduling mode
and related parameters on
the switch
display queue-scheduler Optional
You can execute the display
command in any view