07-15-2011 07:23 AM - edited 03-04-2019 01:00 PM
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
07-15-2011 08:32 AM
http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008009481d.shtml
http://www.cisco.com/en/US/docs/internetworking/technology/handbook/bgp.html
http://www.cisco.com/en/US/docs/ios/12_0/qos/configuration/guide/qcpolicy.html
http://www.cisco.com/en/US/tech/tk365/technologies_configuration_example09186a00801475b2.shtml
http://www.cisco.com/en/US/tech/tk365/technologies_q_and_a_item09186a00800949e8.shtml
07-21-2011 12:23 PM
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
07-21-2011 01:02 PM
Have a look at this link -
http://www.cisco.com/en/US/docs/ios/12_3t/12_3t2/feature/guide/gt_brmcs.html
Jon
07-21-2011 01:34 PM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide