Hi, Probably because those policies are only for filtering summary LSAs, not for changing their metric. I did not find anything mentioned about metric in the examples.
HTH, Ivan, On Thu, Jul 5, 2012 at 4:43 PM, Piotr <[email protected]> wrote: > Hello, > > I have routers in area2 and area0, srx 11.4R1.6 > . > R1-area1---R2--area0 > > I try to filter out or change metrics for some prefixes on ABR (R2), but > it didn't work. I try on both direction: import or export but nothing > change. Metrics are the same, all prefixes available in routing table.. > > What i doing wrong ? > > br > Pet > > > i made config according this: > > http://www.juniper.net/**techpubs/en_US/junos12.1/** > topics/example/ospf-export-**network-summary-routing-** > policy-configuring.html<http://www.juniper.net/techpubs/en_US/junos12.1/topics/example/ospf-export-network-summary-routing-policy-configuring.html> > > http://www.juniper.net/**techpubs/en_US/junos12.1/** > topics/example/ospf-import-**network-summary-routing-** > policy-configuring.html<http://www.juniper.net/techpubs/en_US/junos12.1/topics/example/ospf-import-network-summary-routing-policy-configuring.html> > > > > R2: > > # show protocols ospf > area 0.0.0.0 { > interface ge-0/0/5 { > > } > interface ge-0/0/4.0; > interface lo0.0 { > passive; > } > } > area 0.0.0.1 { > network-summary-export ospf-area-2-export; > interface ge-0/0/6.1 { > metric 300; > } > } > > > show policy-options policy-statement ospf-area-2-export > term term1 { > from { > route-filter 10.27.1.120/30 prefix-length-range /30-/30; > } > then { > metric 50; > accept; > } > } > term term2 { > from { > route-filter 6.6.6.6/32 exact; > } > then { > metric 60; > accept; > } > } > ______________________________**_________________ > juniper-nsp mailing list [email protected] > https://puck.nether.net/**mailman/listinfo/juniper-nsp<https://puck.nether.net/mailman/listinfo/juniper-nsp> > -- Best Regards! Ivan Ivanov _______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

