Users Guide

Switch Management Commands 2123
debug ip bgp
To enable debug tracing of BGP events, use the debug ip bgp command. To
disable debug tracing, use the no form of this command.
Syntax
debug ip bgp [vrf vrf-name] [ipv4-address | ipv6-address [interface interface-
id]]| events | keepalives | notification | open | refresh | updates | in | out]
no debug ip bgp [ipv4-address | ipv6-address [interface interface-id] | events
| keepalives | notification | open | refresh | updates | in | out]
interface-id—A routing interface identifier (VLAN interface).
vrf vrf-name—Displays aggregate address information associated with
the named VRF.
ipv4-address—(Optional) The IPv4 address of a BGP peer. Debug traces
are enabled for a specific peer when this option is specified. The
command can be issued multiple times to enable simultaneous tracing
for multiple peers.
ipv6-address [interface interface-id]—The IPv6 address of a BGP peer.
Debug traces are enabled for a specific peer when this option is
specified. The command can be issued multiple times to enable
simultaneous tracing for multiple peers.
events—(Optional) Trace adjacency state events.
keepalives—(Optional) Trace transmit and receive of KEEPALIVE
packets.
notification—(Optional) Trace transmit and receive of
NOTIFICATION packets.
open—(Optional) Trace transmit and receive of OPEN packets.
refresh—(Optional) Traces transmit and receive of ROUTE REFRESH
packets.
updates—(Optional) Traces transmit and receive of UPDATE packets.
in—(Optional) Trace received packets.
out—(Optional) Trace sent packets.