
235
Connections established 7; dropped 6
1.8.5.1.10 show ip bgp paths
Command: show ip bgp [<ADDRESS-FAMILY>] paths
Function:
Display the path message permitted by BGP
Parameter: <ADDRESS-FAMILY>
: Address-family such as “ipv4 unicast”
Default:
None
Command Mode:
All modes
Usage Guide:
Display the BGP path message includes the utilization state.
Example:
Switch#sh ip bgp paths
Address Refcnt Path
[0x331dad0:0] (1)
[0x331d850:93] (1) 600
[0x331d8d8:249] (2) 200 300
1.8.5.1.11 show ip bgp prefix-list
Command: show ip bgp [<ADDRESS-FAMILY>] prefix-list [<NAME>]
Function:
For displaying the route meet the specific prefix-list in BGP.
Parameter: <ADDRESS-FAMILY>
: Address family such as “ipv4 unicast”
<NAME>
: Name of prefix-list
Default:
None
Command Mode:
All mode
Usage Guide:
We can select the required BGP route by regular expression
Example:
Switch(config)#ip prefix-list PL permit any
Switch(config)#
Switch#sh ip bgp prefix-list PL
BGP table version is 1, local router ID is 10.1.1.64
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* 100.1.1.0/24 10.1.1.66 0 200 300 ?
*> 10.1.1.100 0 32768 ?
Total number of prefixes 1