Troubleshooting guide
Troubleshooting
68 Copyright © 2012 ADTRAN, Inc. 61200860L1-29.4E
Show Commands
Show IP AS-Path List
Use the show ip as-path-list command to display any AS path lists that have been configured in the router,
along with any permit and deny clauses in each list.
#show ip as-path-list <name>
<name> Optional. Specifies that the command display only the list matching the specified AS path list
name. If not specified, all AS path lists are displayed.
In the following example, all AS path lists defined in the router are displayed:
#show ip as-path-list
ip as-path-list AsPathList1:
permit 100
permit 200
permit 300
deny 6500
ip as-path-list ASPathList2:
permit 400
permit 500
In the following example, only the AS path list with the name AsPathList2 is displayed:
#show ip as-path-list AsPathList2
ip as-path-list AsPathList2:
permit 400
permit 500
Show IP BGP
Use the show ip bgp command to display details about the specified route, including the advertising router
IPv4 address, router ID, and the list of neighbors to which this router is being advertised.
#show ip bgp <ipv4 address> <subnet mask>
<ipv4v address> Optional. Specifies a valid IPv4 address. IPv4 addresses should be expressed in dotted
decimal notation (for example, 10.10.10.1).
<subnet mask> Optional. Specifies the subnet mask that corresponds to a range of IPv4 addresses
(network) or a specific host. Subnet masks can be expressed in dotted decimal notation (for example,
255.255.255.0) or as a prefix length (for example, /24).
The following example shows detailed output of the show ip bgp command:
#show ip bgp
BGP local router ID is 172.16.70.1, local AS is 501.
Status codes: * valid, > best, i - internal, o - local
Origin codes: i - IGP, e - EGP, ? - incomplete
Network NextHop Metric LocPrf Path
*> 172.16.55.0/30 10.100.13.151 500 i
*>o172.16.70.0/30 0.0.0.0 i
Total RIB entries = 2