[nsp] as-path prepend question

Lukas Krattiger luk at everyware.ch
Tue Sep 2 12:09:53 EDT 2003


Greetings

I want to prepend a path based on the source ip with two additional hops 
and the rest with one, here the config-part as I understand

router bgp MYAS
  network 10.10.0.0
  neighbor 172.16.0.1 remote-as 2
  neighbor 172.16.0.1 route-map ASprepend-OUT out
!
access-list 1 10.10.0.0 0.0.0.255
!
route-map ASprepend-OUT permit 10
  match ip address 1
  set as-path prepend <MYAS> <MYAS>
!
route-map ASprepend-OUT permit 20
  set as-path prepend <MYAS>

would this work, does anyone else is doing something like that any other 
suggestions ?

Cheers
-Lukas



More information about the cisco-nsp mailing list