CLI Reference CPU Protection Configuration Commands
traffic-class all
bandwidth
bandwidth_value
cpu-protect cpu
bandwidth
bandwidth_value
Set the maximum rate for the
CPU port.
cpu-protect traffic-class all bandwidth bandwidth_value
Use this command to set the maximum rate for all queues.
cpu-protect traffic-class all bandwidth bandwidth_value
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 all queues as
312kbps:
Ruijie#configure terminal
Ruijie(config)# cpu-protect traffic-class all bandwidth 312
Ruijie(config)#end
cpu-protect type
packet-type
traffic-class
traffic-class-num
Set the traffic class for the
corresponding packet type.
cpu-protect
traffic-class id
id_num bandwidth
bandwidth_value
Set the maximum rate for each
queue.
cpu-protect cpu
bandwidth
bandwidth_value
Set the maximum rate for the
CPU port.