debug ip bgp

Displays information related to the processing of BGP4, with a variety of options.

Syntax

debug ip bgp { cli | dampening | events | general | graceful-restart | ip-prefix ip-addr/mask-len | ip-prefix-list name | keepalives | route-map name | route-selection | traces | updates [ rx | tx ] } [ all-vrfs | vrf vrf-name ]
no debug ip bgp

Parameters

cli
Displays information about BGP CLI
dampening
Displays BGP4 dampening.
events
Displays all BGP4 events.
general
Displays BGP4 common events.
graceful-restart
Displays BGP graceful restart events.
ip-prefix
Displays information filtered by IP prefix.
ip-addr
IPv4 address in dotted-decimal notation.
mask-len
IPv4 mask length in CIDR notation.
ip-prefix-list
Displays information filtered by IP prefix list.
name
Name of IP prefix list.
keepalives
Displays BGP4 keepalives.
route-map
Displays configured route map tags.
name
Name of route map.
route-selection
Displays BGP4 route selection.
traces
Displays BGP traces.
updates
Displays BGP4 updates.
rx
Displays BGP4 received updates.
tx
Displays BGP4 transmitted updates
all-vrfs
Specifies all VRFs.
vrf
Specifies a VRF instance or all VRFs.
vrf-name
Specifies a VRF instance

Modes

Privileged EXEC mode

Usage Guidelines

Diagnostic commands are developed and intended for specialized troubleshooting. Work closely with Extreme Networks technical support when running debug or show system internal commands and interpreting their results.

If you want to see BGP4 keepalives for a specific neighbor, you must first specify the neighbor using the debug ip bgp neighbor command. Only keepalive traces for the specified neighbor will appear in the debugging message.

The no form of the command disables debugging.

Examples

The following example sets debugging on BGP4 events.

device# debug ip bgp events

The following example sets debugging on BGP4 graceful restart events.

device# debug ip bgp graceful-restart

The following example specifies that BGP4 keepalives for a specified neighbor appear in debugging messages.

device# debug ip bgp keepalive
device# debug ip bgp neighbor 10.1.1.1

The following example sets debugging on BGP4 events for VRF instance "red".

device# debug ip bgp events vrf red