How to limit maxas in JUNOS
BGP allows multiple attributes (including AS-path, metrics, local preference and communities) to be attached to every advertised prefix. The length of BGP attributes attached to a single prefix can be very large (up to 64K bytes). prefixes with excessive amount of attribute data residing in the BGP table can results in significant memory utilization and trigger software bugs.
Here is how to block long as paths in juniper junos
