Configuring BGP Logging

SonicWALL BGP offers a comprehensive selection of debug commands to display log events related to BGP traffic. BGP logging can be configured on the CLI by using the debug bgp command followed by of the following keywords:

 

BP Debug Keyword Descriptions

BGP Debug Keywords

Description

all

Enables all BGP debugging.

dampening

Enables debugging for BGP dampening.

events

Enables debugging for BGP events.

filters

Enables debugging for BGP filters.

fsm

Enables debugging for BGP Finite State Machine (FSM).

keepalives

Enables debugging for BGP keepalives.

nht

Enables debugging for NHT messages.

nsm

Enables debugging for NSM messages.

updates

Enables debugging for inbound/outbound BGP updates.

To disable BGP debugging, enter the “no” form of the command. For example, to disable event debugging, type the no debug events command.

BGP log messages can also be viewed on the SonicOS GUI on the Log > Log Monitor page. BGP messages are displayed as part of the Advanced Routing category of log messages.

The above message indicates that an update to the outgoing RIB was denied because the router from which the update was received was not directly connected to the appliance.

To allow for BGP peers that are not directly connected, use the ebgp-multihop keyword with the neighbor command. For example:

neighbor 10.50.165.228 ebgp-multihop