14-52 show ip bgp filter-list as-path-access-list include line

 <  Free Open Study  >  

14-52 show ip bgp filter-list as- path -access-list include line

Syntax Description:

  • as-path-access-list ” AS path access list number. The range of valid numbers is 1 to 199.

  • line ” Regular expression. See Appendix B.

Purpose: To display the contents of the local BGP routing table for prefixes matching the specified AS path access list.

Cisco IOS Software Release: 10.0

Example: Displaying BGP Dampened Prefixes to Match Specified AS Path Access List

The AS path attribute of a BGP route can be used to determine the routes that are displayed when using the show ip bgp command. For this example, we want to use an access list to list only those routes that originated in AS 2. Only routes having the AS value(s) permitted in the access list will be displayed.

 ip as-path access-list 1 permit ^2$ rtrA#  show ip bgp filter-list 1  BGP table version is 90, local router ID is 199.172.15.1 Status codes: s suppressed, d damped, h history, * valid, > best, i - internal Origin codes: i - IGP, e - EGP, ? - incomplete    Network          Next Hop            Metric LocPrf Weight Path *> 200.1.1.0        172.17.1.1               0             0 2 i *> 200.1.2.0        172.17.1.1               0             0 2 i *> 200.1.3.0        172.17.1.1               0             0 2 i *> 200.1.4.0        172.17.1.1               0             0 2 I 
 <  Free Open Study  >  


Cisco[r] BGP-4 Command and Configuration Handbook
Cisco BGP-4 Command and Configuration Handbook
ISBN: 1587055732
EAN: 2147483647
Year: 2001
Pages: 300

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net