08-07-2013 12:21 PM - edited 03-04-2019 08:41 PM
hi,
Trying to find out the best way to advertise routes based on ip-route source.
R1 - ISP_A
-
neighbor ISP_A
-
neighbor R3
only advertise 0/0 route to R3
R2 - ISP_B
-
neighbor ISP_B
-
neighbor R3
only advertise 0/0 route to R3
R3 - inside network
-
neighbor R1
advertise routes with R3 route-source to R1
advertise routes with R4 route-source only when ISP_B is not available
-
neighbor R2
advertise routes with R4 route-source to R2
advertise routes with R3 route-source only when ISP_A is not available
-
neighbor R4
route reflector client
08-07-2013 12:24 PM
i forgot to add
on R3 -- R1 neighbor has weight 100 and R2 neighbor has weight 50
08-08-2013 12:58 PM
figured it out -- instead of ACL's -- just going to type statements instead of acl numbers
R3:
neighbor R1 advertise-map map2 non-exist map1
neighbor R2 advertise-map map4 non-exist map3
route-map map1 permit 10
match ip addess 0.0.0.0
match as-path ISP_A_AS
route-map map2 DENY 10 (excludes routes originating from R4 from non-exist map)
match ip route-source R4_Loopback_IP
route-map map2 permit 20
match ip address any
route-map map3 permit 10
match ip address 0.0.0.0
match as-path ISP_B_AS
route-map map4 permit 10
match ip route-source R4_Loopback_IP
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