07-01-2007 09:10 AM - edited 03-03-2019 05:41 PM
I have a site with 3 connections to a remote network, i learn a network via three routes, atm, les circuit and MPLS. Both the ATM and Les circuit are ospf learned routes all in area 0, the MPLS route for the subnet in question is via ebgp then redistributed into ospf as en external type 1 route. The routes i learn from the ATM pvc are via a nortel router which i have no adminstrative control over. I want to ensure one subnet for voice which is 10.224.0.0/16 is learned from the les circuit first choice and the MPLS route second choice. I have configured a distribute list with a route map so that i have 2 match statements in the route map, which include the network 10.224.0.0 and the next-hop, which i specify as the nortel box. During normal operation the les circuit is first choice, when i fail the les circuit, my local routing table does not have the mpls as second choice the distribute list seems to be removing the subnet, any ideas around multiple match statments in a route map when used for distribute lists, I understood multiple match statements should be a logical and. Any comments would be great. I only require this solution for a short time as the Nortel route will be gone very soon, i just want to make sure my voice will not break if i loose the les circuit.
07-01-2007 05:55 PM
You can use distance command and assign different AD's for the routes received instead of distribute lists
eg.
on the hub
access-list 10 permit 10.224.0.0 0.0.255.255
router ospf 100
distance 110
distance 120
distance 130
This would ensure that the other route kicks in when there is a failure in the primary route
HTH, rate if it does
Narayan
07-02-2007 11:46 AM
Hi
I have tried your idea in my lab, i can see the concept but still have an issue, i have configured my lab to see the netwrok 10.224.0.0 /16 from three places, two are internal ospf area 0 but differnent metrics and a third from an external type 1 route. I apply the distance command to get rid of one internal ospf route, specifying the router id with the distance command, but i seem to loose all routes that are internal ospf. I only see the external ospf route. I thought by specifying the router id in the distance command it would only apply to the router advertising the route?
Commands
ip access-list standard voice
permit 10.224.0.0 0.0.255.255
router ospf 1
distance 150 1.1.1.1 0.0.0.0 voice
The commands seem to effect all routes no matter where they come from ?
07-02-2007 12:25 PM
Hi
I think i have managed to get it working,i should ave followed your instructions better. i had to set the ad on all router ids i was learning the route from, also reset the ospf process seemed to kick it into life. I'll test it live in the network tomorrow and let you know what happens.
thanks very much.
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