02-01-2021 09:37 AM
Hi,
Have been told that it is quite routine to redistribute OSPF routes into ISIS and visa versa. In my topology OSPF is used as routes are exchanged with external firewalls.
Initially my thoughts where that I just needed to redistribute ISIS into OSPF, it doesn’t need to be the other way around. The reason for this was that each router in the topology will be running OSPF, so all routes and known paths would be shared.
Recently this changed a little, in that the network / fabric is expanding and there isn’t necessarily a need to run OSPF on these VSP’s, so should all routes be distributed into ISIS then the other fabric nodes will automatically be aware of the rest of the network.
Equally I come into a situation where the routing was not quite optimised, and OSPF was not able to reach certain nodes but ISIS could, so having the redistribution in both directions in place would have allowed connectivity to continue.
So think this gives a couple of good reasons as to why redistributing in both directions OSPF → ISIS and and ISIS → OSPF is a good idea.
Issue is, how do a do this safely without creating a routing loop?
Here is an overview of my topology:
The configuration on each of the VSPs currently looks like this:
ip ecmp
ip ecmp max-path 8
ip route 0.0.0.0 0.0.0.0 172.22.1.202 weight 1
ip route 0.0.0.0 0.0.0.0 172.22.1.206 weight 1
router ospf enable
router ospf
as-boundary-router enable
router-id 172.22.0.211
router ospf
redistribute isis
redistribute isis metric-type type1
redistribute isis route-map "isis-internal"
redistribute isis enable
redistribute direct
redistribute direct enable
exit
router isis
redistribute direct
redistribute direct route-map "suppressIST"
redistribute direct enable
exit
ip ospf apply redistribute isis
ip ospf apply redistribute direct
isis apply redistribute direct
The route map just stops traffic transversing the vIST:
ip prefix-list "suppressIST" 172.22.1.240/30 id 1 ge 29 le 29
ip prefix-list "suppressIST" 172.22.1.244/30 id 1 ge 29 le 29
route-map "suppressIST" 1
no permit
enable
match network "suppressIST"
set metric-type type2
set nssa-pbit enable
route-map "suppressIST" 2
permit
enable
match protocol local
route-map "isis-internal" 1
permit
enable
match metric-type-isis internal
exit
As you can see I am just redistributing in one direction ISIS → OSPF. Equally I am redistributing directly attached subnets into OSPF and ISIS.
Really appreciate some advise and examples.
Many thanks in advance.
Solved! Go to Solution.
02-01-2021 05:43 PM
Attached are my notes, on the various approaches.
02-01-2021 11:54 AM
Hi Martin,
I’m not in favour to redistribute OSPF -> ISIS and ISIS->OSPF.
This could lead to L3 loops or you need to put in place too complex route maps to avoid it.
I would:
I don’t have a global vision of the setup and configs but here you can see that advertising only the default route from ISIS into OSPF is enough for the OSPF network be able to reach anything into the Fabric.
With this:
Regards
Mig