cancel
Showing results for 
Search instead for 
Did you mean: 

Should I redistribute OSPF into ISIS, if so, how do I do safely?

Should I redistribute OSPF into ISIS, if so, how do I do safely?

Anonymous
Not applicable

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:

cc359d0aed7c423094f8f884f5db5467_f4a214fa-d06d-4473-81fe-01d19f072f93.png

 

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.

 

 

1 ACCEPTED SOLUTION

Ludovico_Steven
Extreme Employee

Attached are my notes, on the various approaches.

View solution in original post

5 REPLIES 5

Miguel-Angel_RO
Valued Contributor II

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:

  • remove the OSPF p2p links between VSPs (just leave ISIS between them)
  • setup OSPF between all the VSPs and the S8 chassis.
    • If the edge cluster is not handling routing stuff, it is not needed to integrate them in the OSPF cloud
    • This can be done in a dedicated VLAN to avoid p2p links.
  • if the edge cluster is doing routing stuff:
    • redistribute the isis and static routes from ISIS to OSPF.
    • This is to allow OSPF network to reach items behind the edge cluster without going through the server cluster
  • if the edge cluster is not doing routing stuff
    • redistribute only static routes from ISIS to OSPF.
    •  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. 79f72c93264749ef803f1528cfb8b1a9_1f609.png

With this:

  • all VSPs have the OSPF routes in their routing table but do not redistribute OSPF routes into ISIS
  • all VSPs advertise into OSPF the ISIS routes and the static routes (in your config, I see only the default routes)
    • With the default routes redistributed (with the VSP as next hop), the S8 will alway be able to reach any subnet reachable by the Fabric

Regards

Mig

GTM-P2G8KFN