User Manual

Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 378 System Manual
4.3.10.15.4.8 Managing Destination Port Configuration for the L3 Classification Rule
Classification can be based on the destination port of the packet. You can
configure the value of a destination port for a given classification rule.
1 Enable the destination port configuration mode (refer to
Section 4.3.10.15.4.8.1)
2 Enable/disable the destination port range (refer to
Section 4.3.10.15.4.8.2/Section 4.3.10.15.4.8.3)
3 Terminate the destination port configuration mode (refer to
Section 4.3.10.15.4.8.4)
In addition, you can, at any time, delete an existing destination port configuration
(refer to Section 4.3.10.15.4.8.5).
The following example illustrates the (sequence of) commands for enabling the
destination port configuration mode, enabling the destination port range, and
then terminating the destination port configuration mode:
npu(config-clsfrule)# dstport 50 400
npu(config-clsfrule-dstport)# port-enable
npu(config-clsfrule-dstport)# exit
Syntax
Description
Parameter Description Presence Default
Value
Possible
Values
<start-port> Denotes the starting value of
port range to be deleted.
Optional N/A 1-65535
<end-port> Denotes the end value of port
range to be deleted.
Optional N/A 1-65535
Command
Modes
L3 Classification rules configuration mode
To configure one or more destination ports: