Command Reference CPU Protection Commands
CPU Protection Commands
cpu-protect type packet-type pps pps_value
Use this command to set the bandwidth for receiving packets of a specified type for the CPU port.
cpu-protect type { arp | bpdu | dhcp | ipv6mc | igmp | rip | ospf | vrrp | pim | ttl1 |
unknown-ipmc | dvmrp | …} pps pps_value
Parameter Description Parameter
Description
pps_value
Number of packets per second
Defaults
The CPU's default bandwidth for receiving packets of each type is 1000 pps.
Command
Mode
Global configuration mode
Usage Guide
N/A
Configuration
Examples
The following example sets the CPU's bandwidth for receiving BPDU packets.
Ruijie(config)# cpu-pr type bpdu pps 100
Set packet type bpdu pps 100 .
Command Description
Related
Commands
cpu-protect type packet-type pri pri_num
Sets the priority of the packets of a
specified type received by the CPU port.
Platform
Description
N/A
cpu-protect type packet-type pri pri_num
Use this command to set the priority of the packets of a specified type received by the CPU port.
cpu-protect type { arp | bpdu | dhcp | ipv6mc | igmp | rip | ospf | vrrp | pim | ttl1 |
unknown-ipmc | dvmrp | …} pri pri_num
Parameter Description Parameter
Description
pri_num
ID, value range: 0 to 7
Defaults
The default value of the queue corresponding to the packets of each type is 0.