|
<- Previous Message | Next Message -> Thread Index [isp-bgp] multiple route maps for as-path prepend?
Question for the guru's or anybody that knows the answer. I'd like to do an as-path prepend on a few subnets and not on others. Is multiple route-maps the best way to do that? See me below config....will this accomplish that?
=========== SNIP of config ==========
route-map sprint_out permit 20
match ip address 30
set as-path prepend 32314 32314 32314
route-map sprint_out permit 30
match ip address 40
=============Full BGP config ===========
router bgp 32314
bgp log-neighbor-changes
network 204.96.188.0
network 204.96.189.0
network 204.96.190.0
network 204.96.191.0
neighbor 160.81.32.29 remote-as 1239
neighbor 160.81.32.29 version 4
neighbor 160.81.32.29 prefix-list jag-nets-out out
neighbor 160.81.32.29 route-map sprint_out out
ip prefix-list jag-nets-out seq 5 permit 204.96.188.0/24
ip prefix-list jag-nets-out seq 10 permit 204.96.189.0/24
ip prefix-list jag-nets-out seq 15 permit 204.96.190.0/24
ip prefix-list jag-nets-out seq 20 permit 204.96.191.0/24
access-list 30 permit 204.96.189.0
access-list 30 permit 204.96.190.0
access-list 30 permit 204.96.191.0
access-list 40 permit 204.96.188.0
route-map sprint_out permit 20
match ip address 30
set as-path prepend 32314 32314 32314
route-map sprint_out permit 30
match ip address 40
Thanks,
Bob
To unsubscribe via postal mail, please contact us at:
Jupitermedia Corp.
Attn: Discussion List Management
475 Park Avenue South
New York, NY 10016
Please include the email address which you have been contacted with.
Thread Index |