To specify a limit on the length of AS Paths that BGP accepts from its neighbors, use the bgp maxas-limit command in
Router Configuration mode. If BGP receives a path whose AS Path attribute is longer than the configured limit, BGP sends a
NOTIFICATION and resets the adjacency.
Default
|
LCOS SX BGP accepts AS paths with up to 75 AS numbers.
|
Format
|
bgp maxas-limit number
|
Mode
|
- BGP Router Config
- IPv4 VRF Address Family
|
Parameter |
Description |
number
|
The maximum length of an AS Path that BGP will accept from any of its neighbors. The length is the number of
autonomous systems listed in the path. The limit may be set to any value from 1 to 100.
|