maxas-limit

Imposes a limit on the number of autonomous systems in the AS-PATH attribute.
Syntax
maxas-limit in num
no maxas-limit in
Parameters
in
Allows an AS-PATH attribute from any neighbor to impose a limit on the number of autonomous systems.
num
Specifies a value for the limit. Valid values range from 0 through 300. The default is 300.
Modes

BGP configuration mode

Examples

The following example sets the limit on the number of BGP4 autonomous systems in the AS-PATH attribute to 100.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# maxas-limit in 100
History