[c-nsp] Selective OSPF redistribution

Daniel Corbe corbe at corbe.net
Wed Apr 22 01:24:14 EDT 2015


I've run into an interesting problem.

I'd like to selectively redistribute routes on one particular interface.

Is there a way to apply redistribute route-maps on a per interface
basis?

Alternatively, can someone recommend a way to write a global
redistribute route-map in such a way that it only matches and permits a
certain subset of IPs on a particular interface and allows full
reditribution on every other interface?

Kind of like a logical NOT for a routemap?

Something like this?

route-map OSPF-REDIST permit 5
  match ip address prefix-list PERMIT-OSPF
  match interface GigabitEthernet 2/5
! But it actually needs to stop here and not process #10 on GigE2/5
route-map OSPF-REDIST permit 10
  match interface anything but GigE2/5
!

not really sure.



More information about the cisco-nsp mailing list