bgp log-neighbor-changes
Use this command to enable logging of status change messages without turning on debug bgp commands. OcNOS has many logging services for neighbor status, including debug bgp fsm and debug bgp events. However, these commands cause system performance degradation. If you need to log neighbor status changes only, IP Infusion Inc. recommends turning off all debug commands and using the bgp log-neighbor-changes command instead. A sample output of the 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
This 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
• Remote AS changed
• RR client configuration modification
• Soft reconfiguration modification
Use the no parameter with this command to disable this feature.
Command Syntax
bgp log-neighbor-changes
no bgp log-neighbor-changes
Parameters
None
Default
By default, bgp log neighbor changes is disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
(config)#router bgp 100
(config-router)#bgp log-neighbor-changes
Last modified date: 08/28/2023