How to selectively redistribute network into OSPF.?

author

What does it concretely mean to redistribute into OSPF selective networks connected to loopback interfaces with metric type 2 and metric value of 100. Is such requirement achievable?

  • Total 1 Answer
  • 974
Can You answer this question?
author

You can use route-maps at the time of redistribution in OSPF to selectively redistribute your networks.

int lo1

ip address 1.1.1.1 255.255.255.255

exit

route-map ABC

match interface loopback 1

exit

Router OSPF 1

redistribute connected route-map ABC metric 100 metric-type 2

exit