User Manual

Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 189 System Manual
4.3.6.2.3 Configuring Rate Limiting for User-defined Applications
Besides the pre-defined applications (refer to Section 4.3.6.2.2), you can also
configure other applications that can send packets to the NPU.
Run the following command to configure rate limiting for a user-defined
application.
npu(config-ratelmt)# set rate-limit <user-defined-app> {[srcport
<port_num>] [dstport <port_num>] [protocol <protocol_num>] [srcaddr
<ip_addr>] [dstaddr <ip_addr>] [ethertype <protocol_num>]}
<rate-Kbps>
In the above command, it is recommended that you configure at least one of the
following parameters. The more parameters you configure, the higher the
granularity of the rate limiting definition for that application.
L4 source port
L4 destination port
L3 protocol field
Source IP address
Destination IP address
L2 protocol type field
Command
Modes
Rate limiting configuration mode
NOTE
To display the rate limiting parameters defined for user-defined and other applications, refer to
Section 4.3.6.2.6