04.02.2014 Views

View - ADTRAN Support Community

View - ADTRAN Support Community

View - ADTRAN Support Community

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Troubleshooting<br />

Show Commands<br />

Show IP AS-Path List<br />

Use the show ip as-path-list command to display any AS path lists that have been configured in the router,<br />

along with any permit and deny clauses in each list.<br />

#show ip as-path-list <br />

Optional. Specifies that the command display only the list matching the specified AS path list<br />

name. If not specified, all AS path lists are displayed.<br />

In the following example, all AS path lists defined in the router are displayed:<br />

#show ip as-path-list<br />

ip as-path-list AsPathList1:<br />

permit 100<br />

permit 200<br />

permit 300<br />

deny 6500<br />

ip as-path-list ASPathList2:<br />

permit 400<br />

permit 500<br />

In the following example, only the AS path list with the name AsPathList2 is displayed:<br />

#show ip as-path-list AsPathList2<br />

ip as-path-list AsPathList2:<br />

permit 400<br />

permit 500<br />

Show IP BGP<br />

Use the show ip bgp command to display details about the specified route, including the advertising router<br />

IPv4 address, router ID, and the list of neighbors to which this router is being advertised.<br />

#show ip bgp <br />

Optional. Specifies a valid IPv4 address. IPv4 addresses should be expressed in dotted<br />

decimal notation (for example, 10.10.10.1).<br />

Optional. Specifies the subnet mask that corresponds to a range of IPv4 addresses<br />

(network) or a specific host. Subnet masks can be expressed in dotted decimal notation (for example,<br />

255.255.255.0) or as a prefix length (for example, /24).<br />

The following example shows detailed output of the show ip bgp command:<br />

#show ip bgp<br />

BGP local router ID is 172.16.70.1, local AS is 501.<br />

Status codes: * valid, > best, i - internal, o - local<br />

Origin codes: i - IGP, e - EGP, ? - incomplete<br />

Network NextHop Metric LocPrf Path<br />

*> 172.16.55.0/30 10.100.13.151 500 i<br />

*>o172.16.70.0/30 0.0.0.0 i<br />

Total RIB entries = 2<br />

68 Copyright © 2012 <strong>ADTRAN</strong>, Inc. 61200860L1-29.4E

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!