User's Manual

Chapter 3 - Operation and Administration Using the CLI NPU Configuration
4Motion 317 System Manual
The following example illustrates the (sequence of) commands for enabling the
source address configuration mode, configuring the address mask, and then
terminating the destination address configuration mode:
npu(config-clsfrule)# dstaddr 10.203.155.22
npu(config-clsfrule-dstaddr)# config addr-enable addr-mask
0.0.255.255
npu(config-clsfrule-srcaddr)# exit
3.3.11.15.4.6.1Enabling the Destination Address Configuration Mode\ Creating a New
Destination Address
To configure the parameters for a destination address, first enable the destination
address configuration mode. Run the following command to enable the
destination address configuration mode. You can also use this command to create
a new destination address.
npu(config-clsfrule)# dstaddr <ipv4addr>
If you use this command to specify a new destination address, the configuration
mode for the newly created destination address is automatically enabled, after
which you can execute any of the following tasks:
Configure the address mask (refer to Section 3.3.11.15.4.6.2)k
Disable the destination address (refer to Section 3.3.11.15.4.6.3)
After you execute these tasks, you can terminate the destination address
configuration mode (refer to Section 3.3.11.15.4.6.4) and return to the
classification rules configuration mode.
IMPORTANT
An error may occur if you provide an invalid destination IP address. Refer the syntax description for
more information about the appropriate values and format for configuring this parameter.
Command
Syntax
npu(config-clsfrule)# dstaddr <ipv4addr>
Privilege
Level
10