Displaying Bgp4 Neighbor Information - Foundry Networks Switch and Router Installation And Configuration Manual

Switch and router
Table of Contents

Advertisement

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
1
192.168.4.211
State
ESTABLISHED 0h1m5s
SendCommunity NextHopSelf DefaultOriginate ReflectorClient UpdateSource
No
Message Sent:
Message Received:
Last Connection Reset Reason:User Reset Peer Session
Notification Sent:
Notification Received: Unspecified
TCP Connection state: ESTABLISHED
Local host:
Remote host: 192.168.4.211, Remote Port: 179
ISentSeq:
TotSent:
IRcvSeq:
TotalRcv:
SendQue:
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:
December 2000
AS#
EBGP/IBGP
65001
EBGP
Time
KeepAlive
60
No
No
Open
Update
2
6
2
15
Unspecified
192.168.2.102, Local
2752793
SendNext:
292
ReTrans:
4010160420
RcvNext:
719
DupliRcv:
0
RcvQue:
RouterID
PeerGroup
8.8.8.8
None
HoldTime
RefreshCapability
180
Received
No
KeepAlive Notification Refresh-Req
2
1
4
0
Port: 8118
2753085
TotUnAck:
0
UnAckSeq:
4010161139
SendWnd:
0
RcvWnd:
0
CngstWnd:
Configuring BGP4
None
1
1
0
2753085
16093
16384
1181
19 - 95

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents