cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3706
Views
0
Helpful
4
Replies

route-map tutorial?

argnetworking
Level 1
Level 1

Hello, I´m looking for a good explanation and tutorial for route-map to be used for BGP and PBR. I couldn´t find a complete tutorial with examples.

Any link would be appreciated.

Thanks,

Gonzalo

4 Replies 4

Thanks Andrew,

I have already read all of them but there is no clear explanation on route maps, the logic on procesing the different statements, like what happend if there is a match but i want to process the same match in other statement (I think is with the continue).

Any link?

thanks, Gonzalo

Thanks, one question.

Lets say I have a route-map applied to a bgp neighbor outbound.

...

neighbor 30.30.30.32 route-map OUT-NEI out

...

ip prefix-list OUT-COMM seq 50 permit 50.50.50.0/24

ip prefix-list OUT-COMM seq 60 permit 50.50.51.0/24

ip prefix-list OUT-COMM seq 70 permit 50.50.52.0/24

ip prefix-list PREPEND seq 10 permit 50.50.51.0/24

route-map OUT-NEI permit 10

match ip address prefix-list OUT-COMM

set community 8888:350

route-map OUT-NEI permit 20

match ip address prefix-list PREPEND

set as-path prepend 333 333 333

The question is,

As I understand the route-map 10 will match the network 50, 51 and 52, will set the community and go out, so the route-map 20 will not match anything (or will match anything different of 50,51 and 52 networks, lets say a 54 network will go to the route-map 20, right?)

If I put a continue on route-map 10, it will set the community to the three networks and will pass them to route-map 20, and it will set the prepending to the 51 network only, and the 50 and 52 network will pass with just the community. The 51 will have a community and a prepend.

Am I wrong?

Any recomendation on the order of setting things to manipulate BGP routes?. (incoming and outgoing)

thanks,

Gonzalo

Review Cisco Networking for a $25 gift card