
C613-50186-01 Rev B
Command Reference for AR2050V
1140
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
BGP
AND
BGP4+ C
OMMANDS
BGP
LOG
-
NEIGHBOR
-
CHANGES
bgp log-neighbor-changes
Overview
Use this command to enable logging of status change messages without turning
on
debug bgp
commands.
Use the
no
variant of this command to disable this feature.
Syntax
bgp log-neighbor-changes
no bgp log-neighbor-changes
Default
Disabled
Mode
Router Configuration
Usage
AlliedWare Plus™ provides other kinds of logging services for neighbor status, for
example,
debug bgp fsm
and
debug bgp events
.
However, these commands create a significant hit in the logging performance. If
you need to log neighbor status changes only, we recommend turning off all the
debug commands, and then use this command.
To see BGP neighbor changes in the log you must also set the log level to
informational using the
log buffered
command.
A sample output of this log is:
A sample output of the log for an interface down event is:
The
bgp log-neighbor-changes
command logs the following events:
•
BGP Notification Received
•
Erroneous BGP Update Received
•
User reset request
•
Peer time-out
•
Peer Closing down the session
•
Interface flap
•
Router ID changed
•
Neighbor deleted
•
Member added to peer group
•
Administrative shutdown
%Protocol-Severity-Events: Message-text
%BGP-5-ADJCHANGE: neighbor 10.10.0.24 Down Interface flap