User's Manual
Chapter 3 - Operation and Administration Using the CLI NPU Configuration
4Motion 304 System Manual
You can, at any time, display configuration information (refer to
Section 3.3.11.15.4.13) or delete an existing classification rule (refer to
Section 3.3.11.15.4.14).
3.3.11.15.4.1 Enabling the Classification Rule Configuration Mode\ Creating a New
Classification Rule
To configure the parameters for a classification rule, first enable the classification
rule configuration mode. Run the following command to enable the classification
rule configuration mode. You can also use this command to create a new
classification rule.
npu(config)# clsf-rule <rulename> [clsfRuleType {L2 | L3}]
If you use this command to create a new classification rule, the configuration
mode for this rule is automatically enabled.
After enabling the classification rule configuration mode for an L3 rule you can
execute any of the following tasks:
Configure the parameters for this classification rule (refer to
Section 3.3.11.15.4.2).
Restore the default parameters for this classification rule (refer to
Section 3.3.11.15.4.3)
Manage protocol configuration (refer to Section 3.3.11.15.4.4)
Manage source address configuration (refer to Section 3.3.11.15.4.5)
Manage destination address configuration (refer to Section 3.3.11.15.4.6)
Manage source port configuration (refer to Section 3.3.11.15.4.7)
Manage destination port configuration (refer to Section 3.3.11.15.4.8)
After you have executed these tasks, you can terminate the classification rules
configuration mode (refer to Section 3.3.11.15.4.9).
After enabling the classification rule configuration mode for an L2 rule you can
execute any of the following tasks:
Configure the parameters for this classification rule (refer to
Section 3.3.11.15.4.10).