CLI Reference CPU Protection Configuration Commands
cpu-protect
traffic-class all
bandwidth
bandwidth_value
Set the maximum rate for all
queues.
cpu-protect cpu
bandwidth
bandwidth_value
Set the maximum rate for the
CPU port.
cpu-protect traffic-class id id_num bandwidth bandwidth_value
Use this command to set the maximum rate for each queue.
cpu-protect traffic-class id id_num bandwidth bandwidth_value
Queue id for the packet, in the
range of 0-7.
The maximum rate for the queue,
in the range of 32-131072kbps.
For S2900 series and S5760 series, the default bandwidth of the
queue 7 is 100000kbps, and other queues’ is 1000kbps.
For S3760 series, the default bandwidth of all queues is 1000kbps.
Global configuration mode.
The following example sets the the maximum rate for queue 7 as
312kbps:
Ruijie#configure terminal
Ruijie(config)# cpu-protect traffic-class id 7 bandwidth 312
Ruijie(config)#end
Ruijie# show cpu-protect traffic-class id 7
%*********traffic class bandwidth(kbps)**********
7 312
cpu-protect type
packet-type
traffic-class
traffic-class-num
Set the traffic class for the
corresponding packet type.
Set the maximum rate for all