Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Quagga: Users

Multiple route-map

 

 

Quagga users RSS feed   Index | Next | Previous | View Threaded


mike at ultra

Dec 1, 2011, 8:59 AM

Post #1 of 2 (232 views)
Permalink
Multiple route-map

Hello Guys,


Im trying to use a route-map on my BGP router to advertise a prefix-list
and a community, how can i do this ?


I try to use :


route-map NAME permit 1
match ip-address prefix-list MYNET
on-match goto 2

route-map NAME permit 2
match community COMMNAME exact-match

i try to use with continue and call but without success, what is the best
way to this, i need to announce the community and my prefix list to this
neighbor


Thanks


if at xip

Dec 1, 2011, 1:48 PM

Post #2 of 2 (227 views)
Permalink
Re: Multiple route-map [In reply to]

Dear Mike,

> Im trying to use a route-map on my BGP router to advertise a prefix-list and a community, how can i do this ?

router bgp 1234
network 123.123.122.0/21 route-map AS-MINE
neighbor 111.111.111.111 remote-as 12345
neighbor 111.111.111.111 route-map ToXXXX out

ip as-path access-list 1 permit ^$
ip as-path access-list 1 deny .*

route-map AS-MINE permit 10
match as-path 1
set community 1234:10 additive
set local-preference 1000

route-map ToXXXX permit 10
match community AS-MINE
set metric +0


Kind regards,
Ingo Flaschberger

_______________________________________________
Quagga-users mailing list
Quagga-users [at] lists
http://lists.quagga.net/mailman/listinfo/quagga-users

Quagga users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.