Hello Antoine, La local-pref sert a attribuer un "degré" de preference aux routes que ton ton transitaire t'envoie, ce qui te permet à toi de piloter ton trafic sortant (je veux sortir par ce transitaire X pour joindre telle route plutot que Y).
Le prepending allonge l'AS-PATH de tes routes que tu envoie à tes transitaires. Cela te sert à piloter ton trafic entrant (je veux que ce subnet soit reachable via le transitaire X en premier, plutot que Y). P On 15 July 2017 at 13:43, Antoine DURANT <anto.duran...@outlook.fr> wrote: > Je nage dans le flou lol ! > > > une route map OUT peut-elle utiliser des local-preference ? > > > ! > ip as-path access-list 1 permit ^$ > ip as-path access-list 1 permit ^(10_)*$ > ip as-path access-list 100 permit ^100_[0-9]*$ > ip as-path access-list 101 permit ^100_ > ip as-path access-list 200 permit ^200_[0-9]*$ > ip as-path access-list 201 permit ^200_ > ! > route-map map-out permit 10 > match as-path 100 > set local-preference 100 > ! > route-map map-out permit 20 > match as-path 101 > set local-preference 100 > ! > route-map map-out permit 30 > match as-path 200 > set local-preference 100 > ! > route-map map-out permit 40 > match as-path 201 > set as-path prepend 10 10 10 10 > ! > > --------------------------- > Liste de diffusion du FRnOG > http://www.frnog.org/ > --------------------------- Liste de diffusion du FRnOG http://www.frnog.org/