Concept Guide

Debugging BGP
To enable BGP debugging, use any of the following commands.
View all information about BGP, including BGP events, keepalives, notications, and updates.
EXEC Privilege mode
debug ip bgp [ip-address | peer-group peer-group-name] [in | out]
View information about BGP route being dampened.
EXEC Privilege mode
debug ip bgp dampening [in | out]
View information about local BGP state changes and other BGP events.
EXEC Privilege mode
debug ip bgp [ip-address | peer-group peer-group-name] events [in | out]
View information about BGP KEEPALIVE messages.
EXEC Privilege mode
debug ip bgp [ip-address | peer-group peer-group-name] keepalive [in | out]
View information about BGP notications received from or sent to neighbors.
EXEC Privilege mode
debug ip bgp [ip-address | peer-group peer-group-name] notifications [in | out]
View information about BGP updates and lter by prex name.
EXEC Privilege mode
debug ip bgp [ip-address | peer-group peer-group-name] updates [in | out] [prefix-list name]
Enable soft-reconguration debug.
EXEC Privilege mode
debug ip bgp {ip-address | peer-group-name} soft-reconfiguration
To enhance debugging of soft recong, use the bgp soft-reconfig-backup command only when route-refresh is not negotiated
to avoid the peer from resending messages.
In-BGP is shown using the show ip protocols command.
Dell EMC Networking OS displays debug messages on the console. To view which debugging commands are enabled, use the show
debugging command in EXEC Privilege mode.
To disable a specic debug command, use the keyword no then the debug command. For example, to disable debugging of BGP updates,
use no debug ip bgp updates command.
To disable all BGP debugging, use the no debug ip bgp command.
To disable all debugging, use the undebug all command.
Storing Last and Bad PDUs
Dell EMC Networking OS stores the last notication sent/received and the last bad protocol data unit (PDU) received on a per peer basis.
The last bad PDU is the one that causes a notication to be issued.
In the following example, the last seven lines shown in bold are the last PDUs.
Border Gateway Protocol (BGP)
243