DGS-6604 bgp log-neighbor-changes
CLI Reference Guide
77
bgp log-neighbor-changes
Use the bgp log-neighbor-changes command to enable logging of BGP
neighbor resets. Use no bgp log-neighbor-changes to disable the logging.
bgp log-neighbor-changes
no bgp log-neighbor-changes
Syntax None
Default Disabled.
Command Mode Router configuration.
Usage Guideline This command enables logging of both BGP resets and alternating status
changes to use for troubleshooting purposes.
Unexpected neighbor resets might indicate high error rates or high packet loss in
the network and should be investigated.
The neighbor status change messages are not tracked if the bgp log-neighbor-
changes command is not enabled. The exception to this is for a reset reason,
which is always available as output of the show ip bgp neighbors and show
bgp ipv6 neighbors commands.
The logs for BGP neighbor changes will display on the console.
Example This example shows how to enable logging of BGP neighbor changes for
autonomous system 65534:
Use the show logging buffer command to display the log for the BGP neighbor
changes.
Switch(config)# router bgp 65534
Switch(config-router)# bgp log-neighbor-changes