bgp maxas-limit
Syntax
bgp maxas-limit <NUMBER>
no bgp maxas-limit
Description
Causes BGP to check the length of AS paths that are received in update messages and to discard routes where AS paths are greater than the specified length.
The
no
form of this command sets the limit to the default of 32.
Command context
config-router
Parameters
<NUMBER>
Specifies the number of AS Segments. Default: 32. Length: 1 to 32 characters.
Authority
Administrators
Examples
switch(config-router)# bgp maxas-limit 20 switch(config-router)# no bgp maxas-limit