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 />
In the following example, all BGP routes are displayed whose community attributes match those listed in<br />
the show ip bgp community command.<br />
#show ip bgp community local-as 10:405<br />
BGP local router ID is 10.22.131.241, local AS is 302.<br />
Status codes: * valid, > best, i - internal, o - local<br />
Origin codes: i - IGP, e - EGP, ? - incomplete<br />
Network Next Hop Metric LocPrf Path<br />
10.22.152.20/30 10.22.131.10 304 302 300 1 3 4 i<br />
10.22.152.24/29 10.22.131.10 304 302 300 1 3 4 5 i<br />
10.22.152.36/30 10.22.131.10 304 302 300 1 3 4 i<br />
10.22.152.52/30 10.22.131.10 304 302 300 1 3 4 i<br />
11.0.0.0/30 10.22.131.10 304 302 300 1 3 4 6 i<br />
12.0.0.0/30 10.22.131.10 304 302 300 1 3 4 6 i<br />
13.0.0.0/30 10.22.131.10 304 302 300 1 3 4 6 i<br />
14.0.0.0/30 10.22.131.10 304 302 300 1 3 4 6 i<br />
Total RIB entries = 8<br />
Information displayed includes: the ID of this router and its AS number; the destination Network address<br />
of the route learned; the Next-Hop address to that network; the Metric; the Local Preference (LocPrf)<br />
value; and the AS Path to the destination network.<br />
Show IP BGP <strong>Community</strong>-List<br />
Use the show ip bgp community-list command to display BGP routes that are permitted by the specified<br />
community list.<br />
#show ip bgp community-list [exact]<br />
Specifies the name of the community list whose routes are to be displayed.<br />
exact Optional. Restricts the routes displayed to only those whose community lists exactly match those<br />
specified in the named community list. If this parameter is omitted, all routes matching any part of the<br />
specified community list will be displayed.<br />
In the following example, all BGP routes are displayed whose community number match those defined in<br />
the community list named CLIST1.<br />
#show ip bgp community-list CLIST1<br />
BGP local router ID is 10.22.131.241, local AS is 302.<br />
Status codes: * valid, > best, i - internal, o - local<br />
Origin codes: i - IGP, e - EGP, ? - incomplete<br />
Network Next Hop Metric LocPrf Path<br />
10.22.152.20/30 10.22.131.10 304 302 300 1 3 4 i<br />
10.22.152.24/29 10.22.131.10 304 302 300 1 3 4 5 i<br />
10.22.152.36/30 10.22.131.10 304 302 300 1 3 4 i<br />
10.22.152.52/30 10.22.131.10 304 302 300 1 3 4 i<br />
11.0.0.0/30 10.22.131.10 304 302 300 1 3 4 6 i<br />
12.0.0.0/30 10.22.131.10 304 302 300 1 3 4 6 i<br />
13.0.0.0/30 10.22.131.10 304 302 300 1 3 4 6 i<br />
14.0.0.0/30 10.22.131.10 304 302 300 1 3 4 6 i<br />
20.0.0.0/30 10.22.131.10 304 302 300 1 3 4 5 i<br />
21.0.0.0/30 10.22.131.10 304 302 300 1 3 4 5 i<br />
Total RIB entries = 10<br />
70 Copyright © 2012 <strong>ADTRAN</strong>, Inc. 61200860L1-29.4E