Hi,

You can do it via a policy like this :

Here MAX AS PATH equal to 20. 

Regards,
David


as-path MAXAS ".{20,}";


policy-statement MAXASPATH
{
term MAXAS {
    from {
        protocol bgp;
        as-path MAXAS;
    }
    then reject;
}
} 

-----Message d'origine-----
De : juniper-nsp-boun...@puck.nether.net 
[mailto:juniper-nsp-boun...@puck.nether.net] De la part de Berislav Todorovic
Envoyé : vendredi 20 février 2009 13:01
À : juniper-nsp@puck.nether.net
Objet : [j-nsp] bgp maxas-limit - JUNOS equivalent ???


Hello,

Having in mind some recent unpleasent events:

http://www.renesys.com/blog/2009/02/the-flap-heard-around-the-worl.shtml

I'm wondering if there is a way to limit the AS path length in JUNOS.
Yeah, bgp maxas-limit is available in JUNOSe, as well as in Cisco IOS, but I 
can't find any reference to it for JUNOS (M/MX/T Series).

Any info will be greatly appreciated.

Regards,
Beri
_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net 
https://puck.nether.net/mailman/listinfo/juniper-nsp

*********************************
This message and any attachments (the "message") are confidential and intended 
solely for the addressees. 
Any unauthorised use or dissemination is prohibited.
Messages are susceptible to alteration. 
France Telecom Group shall not be liable for the message if altered, changed or 
falsified.
If you are not the intended addressee of this message, please cancel it 
immediately and inform the sender.
********************************
_______________________________________________
juniper-nsp mailing list juniper-nsp@puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to