View - ADTRAN Support Community
View - ADTRAN Support Community
View - ADTRAN Support Community
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Troubleshooting<br />
Show IP BGP Neighbors<br />
Use the show ip bgp neighbors command to display information for the specified BGP neighbor.<br />
#show ip bgp neighbors [] [advertised-routes | received-routes | routes]<br />
Optional. Displays information for the specified neighbor. IPv4 addresses should be<br />
expressed in dotted decimal notation (for example, 10.10.10.1). If no IPv4 address is entered, information<br />
for all neighbors is displayed.<br />
advertised-routes Optional. Displays all routes being advertised to the specified neighbor. Command<br />
output is the same as for show ip bgp except filtered to only the BGP routes being advertised to the<br />
specified neighbor.<br />
received-routes Optional. Displays all routes (accepted and rejected) advertised by the specified neighbor.<br />
Routes can be rejected by inbound filters, such as prefix list filters.<br />
routes Optional. Displays all accepted received routes advertised by the specified neighbor. Routes<br />
displayed have passed inbound filtering. This command output is the same as show ip bgp except the<br />
output is filtered to those learned from the specified neighbor.<br />
Entries that are not filtered by a local BGP policy are marked with an asterisk (*) to show<br />
they are valid. Entries that are deemed the best path to an advertised route are marked with<br />
a caret (>).<br />
The following examples show a couple of output variations of the show ip bgp neighbors command:<br />
#show ip bgp neighbors<br />
BGP neighbor is 10.15.43.17, remote AS 100, external link<br />
Configured hold time is 180, keepalive interval is 60 seconds<br />
Default minimum time between advertisement runs is 30 seconds<br />
Connections established 6; dropped 5<br />
Last reset: Interface went down<br />
Connection ID: 15<br />
BGP version 4, remote router ID 8.1.1.1<br />
BGP state is Established, for 01:55:05<br />
Negotiated hold time is 180, keepalive interval is 60 seconds<br />
Message statistics:<br />
InQ depth is 0, OutQ depth is 0<br />
Local host: 10.15.43.18, Local port: 179<br />
Sent Rcvd<br />
Opens:1 1<br />
Notifications: 0 0<br />
Updates: 0 8<br />
Keepalives: 116 116<br />
Unknown: 0 0<br />
Total: 117 125<br />
Foreign host: 10.15.43.17, foreign port: 1048<br />
Flags: passive open<br />
61200860L1-29.4E Copyright © 2012 <strong>ADTRAN</strong>, Inc. 71