User Manual

Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 370 System Manual
4.3.10.15.4.6 Managing Destination Address Configuration for the L3 Classification Rule
Classification rules can classify the packet, based on the destination address of
the packet. You can configure the value of destination address for a given
classification rule.
1 Enable the destination address configuration mode (refer to
Section 4.3.10.15.4.6.1)
2 You can now execute any of the following tasks:
» Configure the address mask (refer to Section 4.3.10.15.4.6.2)
» Disable the destination address (refer to Section 4.3.10.15.4.6.3)
3 Terminate the destination address configuration mode (refer to
Section 4.3.10.15.4.6.4)
In addition, you can, at any time, delete an existing destination address (refer to
Section 4.3.10.15.4.6.5).
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
4.3.10.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:
To configure one or more destination addresses: