[c-nsp] as-lists and regular expressions
Cory Ayers
cayers at ena.com
Mon Jun 26 21:28:28 EDT 2006
>
>
> Route-map upstream-transit-in perm 20
>
> Match ip as-list 120
>
> Set local 120
>
> Set commun 36598:666
>
>
> The question is the format of the as list, what would it look like to
> match routes learned from 3356 and anything transiting 3356.
This will match any AS path that starts with 3356, so this will cover
routes you are hearing directly from level3 (including transit routes).
If in doubt, try a command like this to see which routes you will be
hearing:
"show ip bgp regexp ^3356_"
ip as-path access-list 120 permit ^3356_
Cory
More information about the cisco-nsp
mailing list