Hi all,
A little success story : we just setup an OpenBSD-flashdist / OpenBGPd
"router-on-a-flash" for a small AS with great success.
Thank you guys !
Just a little question : I would like to set local preference depending
on the total length of the AS-path.
Sth like :
(pseudo config)
ip as-path access-list 1 permit ^[0-9]+$ (one AS)
ip as-path access-list 1 permit ^[0-9]+_[0-9]+$ (two AS's)
ip as-path access-list 1 permit ^[0-9]+_[0-9]+_[0-9]+$ (three AS's)
!
route-map CC-IN permit 10
match as-path 1
set local pref better (101?)
!
route-map CC-IN permit 20
match bogon (ignore si t'as pas)
set local pref normal (100?)
!
How to do this using OpenBGPD ? Is it possible ? Any other similar
solution ?
Thanks !