[j-nsp] bgp maxas-limit - JUNOS equivalent ???

Malte von dem Hagen mvh at hosteurope.de
Fri Feb 20 08:18:45 EST 2009


Hi,

Am 20.02.2009 13:00 Uhr, Berislav Todorovic schrieb:
> 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.

policy-options {
    policy-statement block-very-long-paths {
        from as-path too-many-hops;
        then reject;
    }

    as-path too-many-hops ".{64,}";
}

protocols {
  bgp {
    group foo {
      import block-very-long-paths
    }
  }
}

Kind regards,

.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <https://puck.nether.net/pipermail/juniper-nsp/attachments/20090220/57fc04ab/attachment.bin>


More information about the juniper-nsp mailing list