Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > Policy Rule Precedence
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • Classifier Groups and Policy Rules Overview
  • Monitoring Policy Management Overview
  • color
  • color-mark-profile
  • filter
  • forward
  • forward interface
  • forward next-hop
  • green-mark
  • log
  • mark
  • mark-clp
  • mark-de
  • mark-exp
  • mark-user-priority
  • next-hop
  • next-interface
  • rate-limit-profile
  • red-mark
  • reference-rate
  • traffic-class
  • user-packet-class
  • yellow-mark
 

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 precedence—not 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 1 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.

Table 1: Policy Rule Commands and Precedence

ATM

Frame Relay

GRE

IP

IPv6

L2TP

MPLS

VLAN

forward

forward

forward

forward

forward

forward

forward

forward

color

color

color

forward interface (input, secondary input, and output policies only)

forward next-hop (for input policies only)

color

color

color

–

–

–

exception for input and secondary input policies only (not supported on ES2 10G Uplink LM)

–

–

–

–

mark-clp
(See mark-clp in the JunosE Command Reference Guide for platform support information.)

mark-de

mark

forward next-hop (for input policies only)

color

rate-limit-
profile

rate-limit-
profile

mark-user-
priority

filter

filter

filter

color

rate-limit-
profile

filter

mark-exp

filter

user-packet-
class

user-packet-
class

user-packet-
class

rate-limit-
profile

user-packet-
class

user-packet-
class

filter

user-packet-
class

traffic-class

traffic-class

traffic-class

user-packet-
class

traffic-class

traffic-class

user-packet-
class

traffic-class

–

–

–

traffic-class

mark

–

traffic-class

–

–

–

–

mark

filter

–

–

–

–

–

–

filter

–

–

–

–

–

–

–

log (not supported on ES2 10G Uplink LM or ES2 10G LM)

–

–

–

–

Note: The commands listed in this section replace the Policy List Configuration mode versions of the commands. For example, the color command replaces the Policy List Configuration mode version of the color command. The original command may be removed completely in a future release.

 

Related Documentation

  • Classifier Groups and Policy Rules Overview
  • Monitoring Policy Management Overview
  • color
  • color-mark-profile
  • filter
  • forward
  • forward interface
  • forward next-hop
  • green-mark
  • log
  • mark
  • mark-clp
  • mark-de
  • mark-exp
  • mark-user-priority
  • next-hop
  • next-interface
  • rate-limit-profile
  • red-mark
  • reference-rate
  • traffic-class
  • user-packet-class
  • yellow-mark
 

Published: 2012-06-21

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out