User Manual

Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 182 System Manual
protect the from hostile applications, you can limit the type and rate of traffic
destined towards the NPU.
This section describes the commands to be executed for:
“Configuring CPU and Memory Utilization Thresholds for the NPU” on
page 182
“Configuring the Rate Limiting for the NPU” on page 184
4.3.6.1 Configuring CPU and Memory Utilization Thresholds for the
NPU
This section describes the commands for:
“Specifying Thresholds for CPU and Memory Utilization for the NPU” on
page 182
“Displaying CPU and Memory Utilization Limits for the NPU” on page 183
4.3.6.1.1 Specifying Thresholds for CPU and Memory Utilization for the NPU
You can use the CLI to configure the thresholds (soft and hard limits) for CPU and
memory utilization for the NPU. When the soft or hard limit for either CPU or
memory utilization is reached, an alarm is raised.
To configure the thresholds (soft and hard limits) for CPU and memory utilization
for the NPU, run the following command:
npu(config)# limit {cpu | memory} ([softlimit <limit>] [hardlimit
<limit>])
For example, run the following command if you want to configure the soft and
hard limits for CPU utilization to be 78 and 85 percent, respectively.
npu(config)# limit cpu softlimit 80 hardlimit 85
NOTE
To display the current thresholds that are configured for CPU and memory utilization for the NPU,
refer to
Section 4.3.6.1.2.
NOTE
An error may occur if the value of the softlimit parameter is higher than the hardlimit
parameter.