CLI Reference CPU Protection Configuration Commands
cpu-protect cpu bandwidth bandwidth_value
Use this command to set the maximum rate for the CPU port.
cpu-protect cpu bandwidth bandwidth_value
The maximum rate for the queue,
in the range of 64 -
1000000kbps.
For S2900 series and S5760 series, the default bandwidth of the CPU
port is 100000kbps.
For S3760 series, the default bandwidth of the CPU port is 3000kbps.
Global configuration mode.
The following example sets the maximum rate for the CPU port as
2000kbps:
Ruijie#configure terminal
Ruijie(config)# cpu-protect cpu bandwidth 2000
Ruijie(config)#end
Ruijie#show cpu-protect cpu
%cpu port bandwidth: 2000(kpbs)
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
traffic-class all
bandwidth
bandwidth_value
Set the maximum rate for all
queues.
cpu-protect mac-address storm-control enable value
Use this command to set the storm control for the mac-address learning.