Users Guide

Table Of Contents
Usage
Information
BGP neighbor Displays the BGP neighbor address and its AS number. The last phrase in the line
indicates whether the link between the BGP router and its neighbor is an external or internal one. If
they are located in the same AS, the link is internal; otherwise the link is external.
BGP version Displays the BGP version, always version 4, and the remote router ID.
BGP state Displays the BGP state of the neighbor and the amount of time in hours:minutes:
seconds it has been in that state.
Last read Displays the information in the last read:
Last read is the time in hours:minutes:seconds that the router read a message from its neighbor.
Hold time is the number of seconds configured between messages from its neighbor.
Keepalive interval is the number of seconds between keepalive messages to help ensure that the
TCP session is still alive.
Received messages Displays the number of BGP messages received, the number of
notifications or error messages, and the number of messages waiting in a queue for processing.
Sent messages Displays the number of BGP messages sent, the number of notifications or error
messages, and the number of messages waiting in a queue for processing.
Description Displays the descriptive name that is configured for the BGP neighbor. This field is
displayed only when the description is configured.
Local host Displays the peering address of the local router and the TCP port number.
Foreign host Displays the peering address of the neighbor and the TCP port number.
Although the status codes for routes that are received from a BGP neighbor may not display in the show
ip bgp neighbors ip-address received-routes output, they display correctly in the show
ip bgp output.
This command displays the route-maps for incoming and outgoing traffic.
Example
MAA-S4048T-X01-7445(config-router-bgp-neighbor-af)# do show ip bgp
neighbors 1.1
.1.2
BGP neighbor is 1.1.1.2, remote AS 65536, local AS 100 external link
Member of peer-group max for session parameters
BGP version 4, remote router ID 109.187.0.1
BGP state ESTABLISHED, in this state for 00:00:13
Last read 00:23:06 seconds
Hold time is 90, keepalive interval is 30 seconds
Configured hold time is 180, keepalive interval is 60 seconds
Fall-over disabled
Received 9 messages
2 opens, 0 notifications, 2 updates
5 keepalives, 0 route refresh requests
Sent 7 messages
2 opens, 1 notifications, 0 updates
4 keepalives, 0 route refresh requests
Minimum time between advertisement runs is 30 seconds
Minimum time before advertisements start is 0 seconds
Capabilities received from neighbor for IPv4 Unicast:
MULTIPROTO_EXT(1)
ROUTE_REFRESH(2)
4_OCTET_AS(65)
Capabilities received from neighbor for IPv6 Unicast:
MULTIPROTO_EXT(1)
ROUTE_REFRESH(2)
4_OCTET_AS(65)
Capabilities advertised to neighbor for IPv4 Unicast:
MULTIPROTO_EXT(1)
ROUTE_REFRESH(2)
CISCO_ROUTE_REFRESH(128)
4_OCTET_AS(65)
ADD_PATH(69)
Capabilities advertised to neighbor for IPv6 Unicast:
MULTIPROTO_EXT(1)
ROUTE_REFRESH(2)
876
Layer 3