Policy Rule Precedence
Because of the flexibility in creating policy lists and classifier groups, you can configure a classifier group that has multiple policy rules.
If a classifier group has multiple rules, the router uses the rules according to their precedencenot in the order in which you created the rules. The first rule listed (the forward rule) for a policy list type has the highest precedence and the last rule has the lowest. The precedence is based on the order in which the router performs rules. Rules are performed in order from lower to higher precedence. In the event of a conflict, a higher precedence rule overrides the lower precedent rule.
The precedence of rules is important if you want a specific rule to be applied. For example, if an IP policy list has both a rate-limit-profile rule (which specifies a color) and a color rule in the same classifier-group, the color specified by the color rule is always used rather than the color implied in the rate-limit-profile rule (the color rule has a higher precedence).
Table 5 lists the policy rule commands that you can use for each type of policy list. The table lists the rules in their order of precedence.
NOTE: The ES2 10G Uplink LM and the ES2 10G LM support only IP, MPLS, and VLAN interfaces.
forward interface (input, secondary input, and output policies only)
exception for input and secondary input policies only (not supported on ES2 10G Uplink LM or ES2 10G LM)
mark-clp
(See mark-clp command for platform support information.)
- Classifier Groups and Policy Rules Overview
- Chapter 9, Monitoring Policy Management
- color command
- color-mark-profile command
- filter command
- green-mark command
- log command
- mark command
- mark-clp command
- mark-de command
- mark-exp command
- mark-user-priority command
- next-hop command
- next-interface command
- rate-limit-profile command
- red-mark command
- reference-rate command
- traffic-class command
- user-packet-class command
- yellow-mark command