Copyright © 2010, Juniper Networks, Inc.
Create and attach IP policy p3 at atm 5/0.1. A new merge policy mpl_7 is created,
11.
which is a combination of p1, p2, and p3. The previous merge policy attachment is
removed.
host1(config)#ip classifier-list C4 udp host 1.1.1.1 any eq 900
host1(config)#ip policy-list p3
host1(config-policy)#classifier-group C4 precedence 900
host1(config-policy-classifier-group)#color red
host1(config-policy-classifier-group)#exit
host1(config-policy)#classifier-group C1 precedence 80
host1(config-policy-classifier-group)#color yellow
host1(config-policy-classifier-group)#exit
host1(config-policy)#exit
host1(config)#interface atm 5/0.1
host1(config-subif)#ip policy input p3 statistics enable merge
host1(config-subif)#exit
Display policies to verify that mpl_5 and mpl_7 have been created.
12.
host1#show policy-list
IP Policy p1
Administrative state: enable
Reference count:
Classifier control list: C2, precedence 10
filter
Classifier control list: C1, precedence 90
forward
Virtual-router: default
List:
next-hop 10.1.1.1, order 100, rule 2 (active)
Referenced by interfaces:
None
Referenced by profiles:
None
Referenced by merge policies:
mpl_5
mpl_7
IP Policy p2
Administrative state: enable
Reference count:
Classifier control list: C3, precedence 10
filter
Classifier control list: C1, precedence 90
forward
Virtual-router: default
List:
next-hop 20.1.1.1, order 100, rule 3 (active)
Classifier control list: *, precedence 1000
forward
Referenced by interfaces:
None
Referenced by profiles:
None
Policy Table
------ -----
2
2
Chapter 6: Merging Policies
109
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - POLICY MANAGEMENT CONFIGURATION GUIDE 2010-10-04 and is the answer not in the manual?