EasyManuals Logo
Home>Juniper>Network Router>E Series

Juniper E Series Configuration Guide

Juniper E Series
212 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #63 background imageLoading...
Page #63 background image
Merging Policies ! 47
Chapter 2: Creating Policies
Example 2 For IP, the forward, filter, next-hop, and next-interface rules are mutually exclusive
within a classifier group. For all other types, filter and forward rules are mutually
exclusive.
A conflict arises when more than one component policy has the same classifier
group and when the rule sets defined in these classifier groups conflict. To resolve
the merge conflict, the last command entered replaces any previous conflicting
commands for a classifier group, as in the following example:
host1(config)#ip policy-list p1
host1(config-policy)#classifier-group C1 precedence 90
host1(config-classifier-group)#forward
host1(config-classifier-group)#exit
host1(config)#ip policy-list p2
host1(config-policy)#classifier-group C1 precedence 90
host1(config-classifier-group)#next-hop 1.1.1.1
host1(config-classifier-group)#exit
host1(config)#ip policy-list p3
host1(config-policy)#classifier-group C1 precedence 90
host1(config-classifier-group)#filter
host1(config-classifier-group)#exit
Combining p1 and p2 internally results in:
ip policy-list mpl_20
classifier-group C1 precedence 90
next-hop 1.1.1.1
exit
Combining p2 and p3 internally results in:
ip policy-list mpl_21
classifier-group C1 precedence 90
filter
exit
Combining p1, p2, and p3 internally results in:
ip policy-list mpl_22
classifier-group C1 precedence 90
filter
exit
Example 3 If you have the same policy rule with different parameters, the parameter of the last
rule entered with the same type is used, with the exception of IP forward rule, to
resolve the conflict, as in the following example:
host1(config)#ip policy-list p1
host1(config-policy)#classifier-group C1 precedence 90
host1(config-classifier-group)#color red
host1(config-classifier-group)#exit
host1(config)#ip policy-list p2
host1(config-policy)#classifier-group C1 precedence 90

Table of Contents

Other manuals for Juniper E Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Juniper E Series and is the answer not in the manual?

Juniper E Series Specifications

General IconGeneral
BrandJuniper
ModelE Series
CategoryNetwork Router
LanguageEnglish

Related product manuals