User Manual

Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 190 System Manual
IMPORTANT
While configuring rate limiting for user-defined applications, remember that:
Configuration for user-defined applications is applied with respect to the sequence in which you
configure these values. It is recommended that you specify the more granular definitions before
the less granular ones. For example, if you are creating a definition that configures the source
port 200 and destination port 500, create this definition before creating a generic configuration
for applications with source port 200. Otherwise, packets with source port 200 and destination
port 500 will be limited according to the rate configured for source port 200.
Packets are classified and identified by the hardware with respect to the depth of the fields that
are configured. Specify the values of the rate limiting parameters for user-defined applications
exactly as these appear in the packet header.
You cannot modify rate limiting definitions for a user-defined application. To modify rate limiting
configuration for a user-defined application, disable and delete that definition, and then create a
new one using the command described in this section. To disable an application definition, refer
to Section 4.3.6.2.4.
L2 protocols cannot be defined with any of the other L4 or L3 fields mentioned above.
The destination IP address that you specify should be the IP address that you have configured
for the external-management, internal-management, bearer, and local-management interface.
IMPORTANT
An error may occur when you run this command and:
The destination port, protocol fields, or Ethernet type that you have configured for the
user-defined application is identical to the destination port of the pre-defined application.
Rate limiting is completely disabled for the NPU.
Command
Syntax
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>
Privilege
Level
10
Syntax
Description
Parameter Description Presence Default
Value
Possible
Values
<user-defined-
app>
Indicates the name of the
application.
Mandatory N/A String (up to 20
characters)