[j-nsp] Local Preference

Mark Tinka mark.tinka at seacom.mu
Tue Mar 18 06:44:46 EDT 2014


On Tuesday, March 18, 2014 12:02:11 PM Mohammad Khalil 
wrote:

> Hi all
> I want to influence the outbound traffic for certain
> prefix , I prepared the below , just want to make sure
> it's correct
> set policy-options policy-statement LOCAL_PREF term TEST
> from route-filter x.x.x.x/24 exact
> set policy-options policy-statement LOCAL_PREF term TEST
> from as-path inbound-preference
> set policy-options policy-statement LOCAL_PREF term TEST
> then local-preference 200
> set policy-options policy-statement LOCAL_PREF term TEST
> then accept set protocols bgp group RR02 neighbor
> y.y.y.y import LOCAL_PREF

So this means your match conditions are AS_PATH and a 
prefix. Only when those conditions match will your 
LOCAL_PREF be set to 200 for those prefixes.

Mark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <https://puck.nether.net/pipermail/juniper-nsp/attachments/20140318/1f5daa2d/attachment.sig>


More information about the juniper-nsp mailing list