White Papers
Debugging BGP
To enable BGP debugging, use any of the following commands.
• View all information about BGP, including BGP events, keepalives, notications, 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 notications 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 prex name.
EXEC Privilege mode
debug ip bgp [ip-address | peer-group peer-group-name] updates [in | out] [prefix-list name]
• Enable soft-reconguration debug.
EXEC Privilege mode
debug ip bgp {ip-address | peer-group-name} soft-reconfiguration
To enhance debugging of soft reconguration, 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 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 specic 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 Networking OS stores the last notication 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 notication to be issued.
In the following example, the last seven lines shown in bold are the last PDUs.
216
Border Gateway Protocol IPv4 (BGPv4)










