Enterasys Networks X-Pedition XSR CLI User Manual

Page 329

Advertising
background image

BGP Debug Commands

XSR CLI Reference Guide 6-133

Syntax of the “no” Form

The no form of this command disables debugging output:

no debug ip bgp [events | updates]

Mode

EXEC configuration: 

XSR>

Default

BGP debugging is disabled.

Examples

The following is sample output with the events option chosen:

XSR#debug ip bgp events

BGP: Event:STOP, Nbr:192.168.2.1, AS:300, Skt:0, State:IDLE

BGP: Event:START, Nbr: 192.168.2.1, AS:300, Skt:0,
State:PEND_START

BGP: Event:START, Nbr: 192.168.2.1, AS:300, Skt:2, State:CONNECT

BGP: Event:TCP_OPEN, Nbr: 192.168.2.1, AS:300, Skt:2, State:OPENSENT

BGP: Event:RX_OPEN, Nbr: 192.168.2.1, AS:300, Skt:2, State:OPENCONFIRM

BGP: Event:RX_KEEP, Nbr: 192.168.2.1, AS:300, Skt:2, State:ESTABLISHED

BGP: Event:RX_UPDATE, Nbr: 192.168.2.1, AS:300, Skt:2, State:ESTABLISHED

BGP: Event:KEEP_EXP, Nbr: 192.168.2.1, AS:300, Skt:2, State:ESTABLISHED

BGP: Debug event generated from the BGP process
Event: BGP event that has been processed
Nbr: Neighbor IP address
AS: AS number
Skt: Socket identifier
State: State of the BGP connection

The following is sample output with the updates option chosen:

XSR#debug ip bgp updates
BGP: Rx Update. Nbr: 192.168.2.1, w/ attr: Origin:? AS_SEQ Path:300 Next
Hop:192.168.2.2 Med:0
BGP: Rx NLRI. Nbr: 192.168.2.1, Prefix:6.6.6.0, Len:24
BGP: Rx NLRI. Nbr: 192.168.2.1, Prefix:7.7.7.0, Len:24
BGP: Rx NLRI. Nbr: 192.168.2.1, Prefix:8.8.8.0, Len:24

BGP: Tx Update. Nbr: 192.168.2.1, w/ attr: Origin:? AS_SEQ Path:100 Next
Hop:192.168.2.2
BGP: Tx NLRI. Nbr: 192.168.2.1, Prefix:5.0.0.0, Len:8
BGP: Tx NLRI. Nbr: 192.168.2.1, Prefix:10.0.0.0, Len:8
BGP: Tx NLRI. Nbr: 192.168.2.1, Prefix:2.0.0.0, Len:8

Advertising