User Manual

Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 379 System Manual
4.3.10.15.4.8.1Enabling the Destination Port Configuration Mode\ Creating a New
Destination Port
To configure the parameters for a destination port, first enable the destination
port configuration mode. Run the following command to enable the destination
port configuration mode. You can also use this command to create a new
destination port.
npu(config-clsfrule)# dstport <start-port> <end-port>
If you use this command to specify a new destination port, the configuration mode
for the newly created destination port is automatically enabled, after which you
can enable/disable the destination port range (refer to
Section 4.3.10.15.4.8.2/Section 4.3.10.15.4.8.3). After executing these tasks, you
can terminate the destination port configuration mode (refer to
Section 4.3.10.15.4.8.4).
4.3.10.15.4.8.2Enabling the Destination Port Range
You can run the following command to enable the destination port range:
IMPORTANT
An error may occur if you provide an invalid value for the start-port and end-port parameters.
Refer the syntax description for more information about the appropriate values and format for
configuring these parameters.
Command
Syntax
npu(config-clsfrule)# dstport <start-port> <end-port>
Privilege
Level
10
Syntax
Description
Parameter Description Presence Default
Value
Possible
Values
<start-port> Denotes the starting value of
port range to be configured.
Mandatory N/A 1-65535
<end-port> Denotes the end value of port
range to be configured.
Mandatory N/A 1-65535
Command
Modes
L3 Classification rules configuration mode