User's Manual

Chapter 3 - Operation and Administration Using the CLI NPU Configuration
4Motion 312 System Manual
1 Enable the source address configuration mode (refer to
Section 3.3.11.15.4.5.1)
2 You can now execute any of the following tasks:
» Configure the address mask (refer to Section 3.3.11.15.4.5.2)
» Disable the source address (refer to Section 3.3.11.15.4.5.3)
3 Terminate the source address configuration mode (refer to
Section 3.3.11.15.4.5.4)
You can, at any time, delete an existing source address (refer to
Section 3.3.11.15.4.5.5).
The following example illustrates the (sequence of) commands for enabling the
source address configuration mode, configuring the address mask, and then
terminating the source address configuration mode:
npu(config-clsfrule)# srcaddr 10.203.155.20
npu(config-clsfrule-srcaddr)# config addr-enable addr-mask
255.255.0.0
npu(config-clsfrule-srcaddr)# exit
3.3.11.15.4.5.1Enabling the Source Address Configuration Mode\ Creating a New
Source Address
To configure the parameters for a source address, first enable the source address
configuration mode. Run the following command to enable the source address
configuration mode. You can also use this command to create a new source
address.
npu(config-clsfrule)# srcaddr <ipv4addr>
If you use this command to specify a new source address, the configuration mode
for the newly created source 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.5.2)
Disable the source address (refer to Section 3.3.11.15.4.5.3)
After you have executed these tasks, terminate the source address configuration
mode to return to the service classification rule configuration mode (refer to
Section 3.3.11.15.4.5.4).