Adding Rules to a Policy List
A policy list can comprise nine different types of rules: color, filter, forward, log, mark, next hop, next interface, rate-limit profile, and traffic class. Once you select a rule type, specific attributes for that rule type appear.
Understanding Policy List Limits
Consider the following limitations when creating policy lists. The NMC-RX application allows you to configure:
- One rule of each nonrouting type (color, log, mark, rate-limit profile, and traffic class) per classifier control list.
- One rule of a routing type (next interface, next hop, and filter) per classifier control list; however, you can configure up to 20 forward rules per classifier control list.
- One classifier control list per rule.
Creating a Rule
Each rule has six common rule parameters. One of the common parameters is an association with a classifier control list, which specifies the criteria used to determine whether a rule is applied.
Most rules contain one or more type-specific parameters, some of which are associations with other objects, such as an IP interface, rate-limit profile, or traffic class.
NOTE: You can create a rule from either the Create Policy List dialog box or from the Policy List configuration area.
The Add Policy Rule dialog box appears.
![]()
Depending on the rule type you select, parameters appear below the Classifier Control List entry
NOTE: Available rule types depend on the classifier control list selected.
- Set the common parameters (Table 14).
Priority of rule; can be set only at time rule is created; range 1-32768; default 100; cannot edit when you associate multiple rules with the same classifier control list
When checked, indicates that the rule is active; when not checked, indicates that the rule is not active
Classifier control list associated with the selected rule; 1-40 characters; default *
See Step 5 on 32.
NOTE: The same precedence value is used for every rule on a policy list that is associated with a classifier control list.
- Set the rule-specific parameter(s).
Information for each rule type is presented in the following sections. When you finish setting the parameters for the rule types, go to Step 5.
NOTE: There are no additional rule-specific parameters for Filter and Log rules.
Color Rule
From the Color drop-down list, select a color (Table 15).
Forward Rule
The Select IP Interface dialog box appears.
![]()
All IP interfaces on the selected virtual router appear in the IP Interface area.
![]()
The IP description name appears in the text box to the right of the IP Interface label, and the virtual router description name appears in the text box to the right of the Virtual Router label.
NOTE: The IP interface is optional for nonshared interfaces.
- Set the forward parameters (Table 16).
- Click OK.
The newly created rule name(s) appear(s) in the Rules Information area of the Create Policy List dialog box.
You can add up to 20 forward rules for each classifier control list.
Mark Rule
Set the mark parameters (Table 17).
Next Hop Rule
Enter a valid IP address for the next hop.
Next Interface Rule
The Select IP Interface dialog box appears.
![]()
All IP interfaces on the selected virtual router appear in the IP Interface area.
![]()
The IP description name appears in the text box to the right of the IP Interface label.
- In the Add Policy Rule dialog box, set the Next Hop parameter by entering a valid IP address for the next hop.
Rate-Limit Profile Rule
The Associate Rate Limit Profile dialog box appears.
![]()
- Click a rate-limit profile name in the list.
- (Optional) View the rate-limit profile attributes by clicking the View... button.
The View Rate Limit Profile dialog box appears.
![]()
The rate-limit profile name appears in the text box to the right of the Rate Limit Profile label.
Traffic Class Rule
The Associate Traffic Class dialog box appears.
![]()
NOTE: A maximum of eight traffic classes is allowed on an E-series router.
- Click a traffic class name in the list.
- (Optional) View the traffic class attributes by clicking the View... button.
The View Traffic Class dialog box appears.
![]()
- (Continued from 27.) In the Add Policy Rule dialog box, click
to the right of the Classifier Control List box.
The Associate Classifier Control List dialog box appears. Available classifier control lists depend on the rule type selected.
![]()
The default * specifies that the router selects all packets from the interface associated with the policy list for this classifier group.
The classifier control list name appears in the text box to the right of Classifier Control List in the Add Policy Rule dialog box.Click OK in the Add Policy Rule dialog box.
The newly created rule name(s) appear(s) in the Rules Information area of the Create Policy List dialog box.