Reference v4.1.0 Instruction Manual
Network OS Command Reference 501
53-1003115-01
neighbor maxas-limit in (BGP)
2
neighbor maxas-limit in (BGP)
Causes the device to discard routes received in UPDATE messages if those routes exceed a
maximum AS path length.
Synopsis neighbor {ip-address | peer-group-name} maxas-limit in {num | disable}
no neighbor {ip-address | peer-group-name} maxas-limit in {num | disable}
Operands ip-address IPv4 address of the neighbor
peer-group-name Peer group name configured by the neighbor peer-group-name command.
num Maximum length of the AS path. Range is from 0 through 300.
disable Prevents a neighbor from inheriting the configuration from the peer group
or global configuration and instead uses the default system value.
Defaults The default for num is 300.
Command Modes BGP configuration mode
Description Use this command to cause the device to discard routes received in UPDATE messages if those
routes exceed a maximum AS path length.
Usage Guidelines Use the no form of this command to remove this configuration at the global level.
Examples To change the length of the maximum allowed AS path length from the default:
switch(config)# rbridge-id 10
switch(config-rbridge-id-10)# router bgp
switch(config-bgp-router)# neighbor 10.11.12.13 maxas-limit in 200
To prevent a neighbor from inheriting the configuration from the peer group or global configuration
and instead use the default system value:
switch(config-bgp-router)# neighbor 10.11.12.13 maxas-limit in disable
See Also None