CLI Guide

Layer 3 Routing Commands 1270
User Guidelines
Both backward and forward adjacency state changes are logged. Forward state
changes, except for transitions to the Established state, are logged at the
Informational severity level. Backward state changes and forward changes to
Established are logged at the Notice severity level
Command History
Introduced in version 6.2.0.1 firmware.
Example
console(config-router)# bgp log-neighbor-changes
bgp maxas-limit
Use this command to specify a limit on the length of AS Paths that BGP
accepts from its neighbors. To revert the limit to its default, use the no form
of this command.
Syntax
bgp maxas-limit limit
no bgp maxas-limit
limit—The maximum length of an AS Path that BGP accepts from 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.
Default Configuration
BGP accepts AS paths with up to 75 AS numbers
Command Mode
BGP Router Configuration mode
User Guidelines
If BGP receives a path whose AS PATH attribute is longer than the configured
limit, BGP sends a NOTIFICATION and resets the adjacency.