neighbor maxas-limit in
-
- Last UpdatedJul 20, 2017
- 1 minute read
neighbor maxas-limit in
Causes the device to discard routes received in UPDATE messages if those routes exceed a maximum AS path length.
ip-address
| Specifies the IPv4 address of the neighbor.
|
ipv6-address
| Specifies the IPv6 address of the neighbor.
|
peer-group-name
| Specifies the peer group name.
|
num
| Specifies the maximum length of the AS path. Valid values range from 0 through 300. The default is 300.
|
disable
| Prevents a neighbor from inheriting the configuration from the peer group or global configuration and instead uses the default system value.
|
BGP configuration mode
The following example changes the length of the maximum allowed AS path length from the default.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor 10.11.12.13 maxas-limit in 200
The following example prevents a neighbor from inheriting the configuration from the peer group or global configuration and instead use the default system value.
device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor 2001:2018:8192::125 maxas-limit in disable