Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual
Page 299
Brocade Virtual ADX Switch and Router Guide
285
53-1003246-01
Displaying BGP4 information
8
This example shows how to display information for a specific neighbor, by specifying the neighbor’s
IP address with the command. Since none of the other display options are used, all of the
information is displayed for the neighbor. The number in the far left column indicates the neighbor
for which information is displayed. When you list information for multiple neighbors, this number
makes the display easier to read.
The TCP statistics at the end of the display show status for the TCP session with the neighbor. Most
of the fields show information stored in the Transmission Control Block (TCB) for the TCP session
between the device and the neighbor. These fields are described in detail in section 3.2 of RFC
793, “Transmission Control Protocol Functional Specification”.
Syntax: show ip bgp neighbors [ip-addr [advertised-routes [detail [ip-addr[/mask-bits]]]] |
[attribute-entries [detail]] | [flap-statistics] | [last-packet-with-error] |
[received-routes] | [routes [best] | [detail [best] | [not-installed-best] | [unreachable]] |
[rib-out-routes [ip-addr/mask-bits | ip-addr net-mask | detail]] | [routes-summary]]
The ip-addr option lets you narrow the scope of the command to a specific neighbor.
The advertised-routes option displays only the routes that the device has advertised to the
neighbor during the current BGP4 session.
Virtual ADX(config-bgp)# show ip bgp neighbor 10.4.0.2
Total number of BGP neighbors:
1 IP Address: 10.4.0.2, AS: 5 (EBGP), RouterID: 10.0.0.1
Description: neighbor 10.4.0.2
Local AS: 101
State: ESTABLISHED, Time: 0h1m0s, KeepAliveTime: 0, HoldTime: 0
PeerGroup: pg1
Multihop-EBGP: yes, ttl: 1
SendCommunity: yes
NextHopSelf: yes
DefaultOriginate: yes (default sent)
MaximumPrefixLimit: 90000
RemovePrivateAs: : yes
RefreshCapability: Received
Route Filter Policies:
Distribute-list: (out) 20
Filter-list: (in) 30
Prefix-list: (in) pf1
Route-map: (in) setnp1 (out) setnp2
Messages: Open Update KeepAlive Notification Refresh-Req
Sent : 1 1 1 0 0
Received: 1 8 1 0 0
Last Update Time: NLRI Withdraw NLRI Withdraw
Tx: 0h0m59s --- Rx: 0h0m59s ---
Last Connection Reset Reason:Unknown
Notification Sent: Unspecified
Notification Received: Unspecified
TCP Connection state: ESTABLISHED
Local host: 10.4.0.1, Local Port: 179
Remote host: 10.4.0.2, Remote Port: 8053
ISentSeq: 52837276 SendNext: 52837392 TotUnAck: 0
TotSent: 116 ReTrans: 0 UnAckSeq: 52837392
IRcvSeq: 2155052043 RcvNext: 2155052536 SendWnd: 16384
TotalRcv: 493 DupliRcv: 0 RcvWnd: 16384
SendQue: 0 RcvQue: 0 CngstWnd: 1460