![background image](http://html.mh-extra.com/html/foundry-networks/switch-and-router/switch-and-router_installation-and-configuration-manual_2324275777.webp)
Configuring BGP4
December 2000
19 - 95
Displaying BGP4 Neighbor Information
You can display configuration information and statistic for the router’s BGP4 neighbors using either of the
following methods.
USING THE CLI
To view BGP4 neighbor information for the router, enter the following command:
BigIron# show ip bgp neighbors 192.168.4.211
IP Address
AS#
EBGP/IBGP
RouterID
PeerGroup
1
192.168.4.211
65001 EBGP
8.8.8.8
None
State
Time
KeepAlive
HoldTime RefreshCapability
ESTABLISHED 0h1m5s
60
180
Received
SendCommunity NextHopSelf DefaultOriginate ReflectorClient UpdateSource
No
No
No
No
None
Open
Update KeepAlive Notification Refresh-Req
Message Sent:
2
6
2
1
1
Message Received: 2
15
4
0
1
Last Connection Reset Reason:User Reset Peer Session
Notification Sent:
Unspecified
Notification Received: Unspecified
TCP Connection state: ESTABLISHED
Local host: 192.168.2.102, Local Port: 8118
Remote host: 192.168.4.211, Remote Port: 179
ISentSeq:
2752793 SendNext:
2753085 TotUnAck:
0
TotSent:
292 ReTrans:
0 UnAckSeq:
2753085
IRcvSeq: 4010160420 RcvNext: 4010161139 SendWnd:
16093
TotalRcv:
719 DupliRcv:
0 RcvWnd:
16384
SendQue:
0 RcvQue:
0 CngstWnd:
1181
This example shows how to display information for a specific neighbor, by specifying the neighbor’s IP address
with the command. None of the other display options are used; thus, 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 Layer 3 Switch’s Transmission Control Block (TCB) for the TCP session between
the Layer 3 Switch and its neighbor. These fields are described in detail in section 3.2 of RFC 793, “Transmission
Control Protocol Functional Specification”.
In this example, a specific neighbor’s IP address is entered. The command therefore shows information only for
that neighbor. None of the other options are used; thus, all the information about the neighbor is displayed. The
numbers in the leftmost column separate the entries for each neighbor.
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 [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 Layer 3 Switch has advertised to the neighbor
during the current BGP4 neighbor session.
The
attribute-entries
option shows the attribute-entries associated with routes received from the neighbor.
The
flap-statistics
option shows the route flap statistics for routes received from or sent to the neighbor.
The
last-packet-with-error
displays a hexadecimal dump of the first 400 bytes of the last packet received from
the neighbor that contained an error.
The
received-routes
option lists the routes received in UPDATE messages from the neighbor. You can specify
the following additional options:
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...