Connectivity Guide
• Foreign host — Displays the peering address of the neighbor and the TCP port number.
Although the status codes for routes 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.
Example
OS10# show ip bgp neighbors 
BGP neighbor is 80.1.1.2, remote AS 800, local AS 102 external link
 BGP version 4, remote router ID 12.12.0.2
 BGP state ESTABLISHED, in this state for 00:02:51
 Last read 00:18:23 seconds
 Hold time is 90, keepalive interval is 30 seconds
 Configured hold time is 180, keepalive interval is 60 seconds
 Fall-over disabled
 Received 11 messages
 1 opens, 0 notifications, 3 updates
 7 keepalives, 0 route refresh requests
 Sent 8 messages
 1 opens, 0 notifications, 0 updates
 7 keepalives, 0 route refresh requests
 Minimum time between advertisement runs is 30 seconds
 Description: n1_abcd
 Capabilities received from neighbor for IPv4 Unicast:
MULTIPROTO_EXT(1)MULTIPROTO_EXT(1)MULTIPROTO_EXT(1)ROUTE_REFRESH(2)
 Capabilities advertised to neighbor for IPv4 Unicast:
MULTIPROTO_EXT(1)MULTIPROTO_EXT(1)ROUTE_REFRESH(2)CISCO_ROUTE_REFRESH
 (128)4_OCTET_AS(65)
 Prefixes accepted 5, Prefixes advertised 0
 Connections established 1; dropped 1
Closed by neighbor sent 00:02:51 ago
 For address family: IPv4 Unicast
 Next hop set to self
 Allow local AS number 0 times in AS-PATH attribute
 For address family: IPv6 Unicast
 Next hop set to self
 Allow local AS number 0 times in AS-PATH attribute
 Local host: 80.1.1.1, Local port: 57812
 Foreign host: 80.1.1.2, Foreign port: 179
Example advertised-
routes
OS10# show ip bgp ipv6 unicast neighbors 192:168:1::2 advertised-routes 
BGP local router ID is 100.1.1.1
Status codes: s suppressed, S stale, d dampened, h history, * valid, > best
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path 
*>55::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:1::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:2::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:3::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:4::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:5::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:6::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:7::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:8::/64 192:168:1::1 0 0 0 100i 
*>55:0:0:9::/64 192:168:1::1 0 0 0 100i 
*>172:16:1::/64 192:168:1::1 0 0 0 100? 
Total number of prefixes: 11
OS10#
Example received-
routes
OS10# show ip bgp ipv6 unicast neighbors 172:16:1::2 received-routes 
BGP local router ID is 100.1.1.1
Status codes: D denied
Origin codes: i - IGP, e - EGP, ? - incomplete
 Network Next Hop Metric LocPrf Path 
Layer 3 487










