[j-nsp] junos policy

raymondh (NSP) raymondh.nsp at gmail.com
Fri Nov 14 08:05:16 EST 2008


https://www.juniper.net/techpubs/software/junos/junos92/swconfig-policy/example-configuring-bgp-flap-damping.html
Please refer to the URL, there're actually a couple of examples out  
there, a good reference on JUNOS would be CYMRU's. Not sure if it's  
updated yet.

Here's a sample.


--raymondh

policy-statement damping-policy {
     term 1 {
         from {
             route-filter 0.0.0.0/0 prefix-length-range /24-/32 {
                 damping high-damp;
                 accept;
             }
             route-filter 0.0.0.0/0 prefix-length-range /22-/23 {
                 damping medium-damp;
                 accept;
             }
             route-filter 0.0.0.0/0 orlonger {
                 damping normal-damp;
                 accept;
             }
         }
     }
}

damping high-damp {
     half-life 30;
     reuse 820;
     suppress 3000;
     max-suppress 60;
}
damping medium-damp {
     half-life 15;
     reuse 750;
     suppress 3000;
     max-suppress 45;
}
damping normal-damp {
     half-life 10;
     reuse 1500;
     suppress 3000;
     max-suppress 30;
}
damping no-damp {
     disable;
}




On Nov 14, 2008, at 8:28 PM, Andrew Jimmy wrote:

> How do you guys do else in JUNOS policy.. like what if I want  
> 116.203.0/16
> orlonger damping high and rest normal. How you are going to use it.
>
>
>
> Damping: high
>
> Damping: normal
>
>
>
> policy-statement damp {
>
>        term 1 {
>
>            from {
>
>                route-filter 116.203.0.0/16 orlonger damping high;
>
>            }
>
>        }
>
> Else normal
>
>    }
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp



More information about the juniper-nsp mailing list