How to dynamically adjust the CPCAR rate on an AR router

18

In case of a system attack, the CPCAR rate static adjustment function cannot control the rate of delivering packets to the CPU in a timely manner. As a result, the CPU is overloaded, severely affecting the running state of the CPU.
The CPCAR rate dynamic adjustment function can periodically detect the CPU usage. When detecting that the current CPU usage of the system exceeds a set threshold, the function dynamically adjusts the CPCAR within a normal range to reduce the impact of the attack on the CPU.
The configuration procedure is as follows:
1. Run the system-view command to access the system view.
2. Run the cpu-defend policy policy-name command to access the anti-attack policy view.
3. Run the rate-adaption enable command to enable the CPCAR rate dynamic adjustment function.
By default, the CPCAR rate dynamic adjustment function is not enabled.
4. Run the rate-adaption adjust-period period-value command to configure an interval of periodically detecting the CPU usage.
By default, the periodical detection interval is 30s.
5. Run the rate-adaption cpu-usage threshold low low-value high high-value command to configure a CPU load threshold for triggering the CPCAR rate dynamic adjustment function.
By default, the minimum CPU load threshold for triggering CPCAR rate dynamic adjustment is 65%, and the maximum threshold is 85%.
6. Run the rate-adaption adjust-step step-value command to configure an adjustment amplitude of the CPCAR rate.
By default, the adjustment amplitude of the CPCAR rate is 20%.
7. (Optional) Run the rate-adaption exception packet-type packet-type command to configure types of protocols to which the CPCAR rate dynamic adjustment function does not apply.
By default, the CPCAR rate dynamic adjustment function applies to all types of protocols.

Other related questions:
How to adjust the serial interface rate of an AR routers
The serial interface rate of an AR router cannot be adjusted. For a serial interface running in DTE mode, you can run the virtualbaudrate command to configure the virtual baud rate of the serial interface in synchronous mode. For a serial interface running in DCE mode, you can run the baudrate command to configure the baud rate of the serial interface in synchronous mode. The baud rate determines the transmission rate of a line. Supported baud rate range varies with cable types. ? V.24DCE: 1200 bit/s - 64000 bit/s Baud rate ranges supported by V.35DCE, RS449DCE, and RS530DCE are described as follows: - The baud rate supported by 1SA/2SA interface cards ranges from 1200 bit/s to 2048000 bit/s. - The baud rate supported by 8SA interface cards ranges from 1200 bit/s to 8192000 bit/s. - The baud rate supported by the serial interface of AR2202-48FE ranges from 1200 bit/s to 8192000 bit/s. Supported virtual baud rate range varies with cable types. ? V.24DTE: 1200 bit/s - 64000 bit/s Virtual baud rate ranges supported by V.35DTE, X.21DTE, RS449DTE, and RS530DTE are described as follows: - Virtual baud rate supported by 1SA/2SA interface cards ranges from 1200 bit/s to 2048000 bit/s. - Virtual baud rate supported by 8SA interface cards ranges from 1200 bit/s to 8192000 bit/s. - Virtual baud rate supported by the serial interface of AR2202-48FE ranges from 1200 bit/s to 8192000 bit/s. Ensure that the baud rate configured on the DCE device (by running the baudrate command) is in accordance with the virtual baud rate configured on the DTE device (by running the virtualbaudrate command). Otherwise, packets may be discarded.

How to adjust routing priority on an AR router
Commands about routing priority of an AR router are as follows: 1. ip route-staticip-address nexthop-address preferencepreference 2. preference (OSPF) For details about how to configure routing priorities and save data on a web page, see the URL: http://support.huawei.com/ecommunity/bbs/10276523.html.

How does an AP adjust the rate
When signal quality becomes bad, an AP changes the modulation mode to reduce the transmission rate. This also reduces the bit error ratio.

What is the fan speed adjustment policy of AR routers
AR routers apply the automatic fan speed adjustment policy in which the temperature of key components is monitored. The fan speed increases when the temperature of a sensitive component inside the device is higher than the set value and decreases when the temperature is lower than the set value, ensuring that the temperature of the device is stable and reducing energy costs and noises.

How to check the rate of an interface of an AR router
You can run the display interface ethernet brief command on an AR router to check the brief information about the Ethernet interface of the router, including the physical state, auto-negotiation method, duplex mode, rate, and average bandwidth utilization rate in the receiving and sending directions in the recent period of the interface. In the output information displayed after the command is run, the Bandwidth column describes the bandwidth of the interface. In auto-negotiation mode, you can run the auto speed { 10 | 100 | 1000 }* command to configure the rate of the Ethernet interface. You can run the undo negotiation auto command to configure the Ethernet interface to be working in non-auto negotiation mode and run the speed { 10 | 100 | 1000 | 10000 } command to configure the rate of the Ethernet interface in the non-auto negotiation mode.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top