bgp maxas-limit
Causes BGP to check the length of AS paths received in update messages and to not forward routes whose AS paths are greater than the specified length. The no version halts checking of the AS path length.
bgp maxas-limit limit
Router Configuration
Release Information Command introduced before JUNOSe Release 7.1.0.