View - ADTRAN Support Community
View - ADTRAN Support Community
View - ADTRAN Support Community
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Troubleshooting<br />
#show ip bgp neighbors 10.15.43.34 advertised-routes<br />
BGP local router ID is 10.0.0.1, local AS is 101.<br />
Status codes: * valid, > best, i - internal<br />
Origin codes: i - IGP, e - EGP, ? - incomplete<br />
Network NextHop Metric Path<br />
*> 1.0.0.0/8 10.15.43.17 1 100 i<br />
*> 2.0.0.0/9 10.15.43.17 1 100 i<br />
Show IP BGP Regexp<br />
Use the show ip bgp regexp command to display a summary of the BGP route table that includes routes<br />
whose AS path matches the specified expression.<br />
#show ip bgp regexp <br />
Specifies the regular expression to match when displaying BGP routes. Only those routes<br />
whose AS path matches this expression will be displayed in the output.<br />
Regular expressions are strings of characters used in BGP to identify routes by their AS<br />
path. Refer to AS Regular Expressions on page 83 for a detailed list of valid AS regular<br />
expressions.<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 sample output of the show ip bgp regexp_303_ command shows all of the entries in the<br />
BGP database that contain 303 in the AS path.<br />
#show ip bgp regexp _303_<br />
BGP local router ID is 192.168.3.1, local AS is 304.<br />
Status codes: * valid, > best, i - internal, o - local<br />
Origin codes: i - IGP, e - EGP, ? - incomplete<br />
Network NextHop Metric LocPrf Path<br />
10.22.130.8/29 10.22.132.9 303 304 302 i<br />
* i10.22.130.240/28 10.22.132.1 100 303 300 i<br />
* 10.22.130.240/28 10.22.132.9 303 300 i<br />
10.22.131.0/29 10.22.132.9 303 304 302 i<br />
10.22.131.8/29 10.22.132.9 303 304 302 i<br />
* i10.22.131.16/29 10.22.132.1 0 100 303 i<br />
* 10.22.131.16/29 10.22.132.9 0 303 i<br />
* i10.22.131.240/28 10.22.132.1 100 303 300 i<br />
* 10.22.131.240/28 10.22.132.9 303 300 i<br />
* 10.22.132.0/29 10.22.131.1 0 302 303 i<br />
* 10.22.132.0/29 10.22.131.9 0 302 303 i<br />
* i10.22.132.0/29 10.22.132.1 0 100 303 i<br />
*> 10.22.132.0/29 10.22.132.9 0 303 i<br />
* 10.22.132.8/29 10.22.131.1 0 302 303 i<br />
* 10.22.132.8/29 10.22.131.9 0 302 303 i<br />
72 Copyright © 2012 <strong>ADTRAN</strong>, Inc. 61200860L1-29.4E