protocols bgp <asn> parameters log-neighbor-changes
Enables or disables logging of the status of BGP neighbors.
Disabled.
- asn
- The number of the AS in which this router resides. The numbers range from 1 through 4294967294. The subrange, 64512 through 65534, is reserved for private AS.
Configuration mode
protocols {
bgp asn {
parameters {
log-neighbor-changes
}
}
}
This feature helps detect network problems, by recording when BGP neighbors come up or go down, and when they reset. Log messages are sent to the main log file.
Use the set form of this command to direct the router to log changes in adjacencies for BGP neighbors.
Use the delete form of this command to disable logging of neighbor status changes.
Use the show form of this command to view global BGP configuration settings.
Even when this feature is disabled, the system tracks neighbor resets; these resets can be seen in the output of the show ip bgp neighbors command.