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. ...

Get Cisco® BGP-4 Command and Configuration Handbook (CCIE Professional Development) now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.