< Free Open Study > |
14-52 show ip bgp filter-list as- path -access-list include lineSyntax Description:
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 ListThe 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 > |