Configuration Guide CPU Protection Configuration
Configuring the Bandwidth for Each Type of Packet
In the configuration mode, configure the bandwidth of each type of packet by
performing the following steps:
Ruijie(config)# cpu-protect type {arp | bpdu |
dhcp | ipv6mc | igmp | rip | ospf
| vrrp | pim | err-ttl | unknown-ipmc } pps
pps_vaule
Set the bandwidth for the packets in PPS,
which is an integer.
Return to the privileged mode.
This example shows the bandwidth configuration process:
Ruijie(config)#cpu-protect type bpdu pps 200
Set packet type bpdu pps 100.
Configuring the Priority for Each Type of Packet
In the configuration mode, configure the priority value of each type of packet by
performing the following steps:
Ruijie(config)# cpu-protec type {arp |
bpdu | dhcp | ipv6mc | igmp | rip | ospf |
vrrp | pim | err-ttl | unknown-ipmc} pri
pri_vaule
Set the priority value for the packets, pri_value
is an integer.
Return to the privileged mode.
This example shows the priority value configuration process:
Ruijie(config)# cpu-protect type bpdu pri 7
Set packet type bpdu priority 7.
Viewing CPU Protect information
On the switch, it is possible to view the following information about the CPU
Protect:
View the statistics of the packets received by the CPU of the supervisor
engine
View the statistics of the packets received by the CPU of the line card
View the statistics of the packets received of a specific type