BGP Commands
bgp log-neighbor-changes
Use this command to enable logging of status change messages without turning on debug
bgp commands.
Use the no parameter with this command to disable this feature.
Syntax
bgp log-neighbor-changes
no bgp log-neighbor-changes
Disabled
Default
Router mode
Mode
AlliedWare Plus
Usage
debug bgp fsm, debug bgp events, etc. 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, then use this command.
To see bgp neighbor changes in the log you need to set the log level to informational using the
log buffered (filter)
A sample output of this log is:
%Protocol-Severity-Events: Message-text
A sample output of the log for an interface down event is:
%BGP-5-ADJCHANGE: neighbor 10.10.0.24 Down Interface flap
The bgp log-neighbor-changes command, logs the following events:
■
■
■
■
■
■
■
■
■
■
■
■
■
To enable the logging of bgp status changes without using the debug bgp command:
Example
awplus(config-router)#
38.24
TM
provides other kinds of logging services for neighbor status, for example,
command in
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
Remote AS changed
RR client configuration modification
Soft reconfiguration modification
awplus#
configure terminal
awplus(config)#
router bgp 100
bgp log-neighbor-changes
Software Reference for SwitchBlade® x908, x900 and x600 Series Switches
TM
AlliedWare Plus
Operating System - Software Version 5.3.1
Chapter 10, Logging
Commands.
C613-50007-01 REV B