[c-nsp] Selective OSPF redistribution
Patrick Cole
z at amused.net
Wed Apr 22 03:13:31 EDT 2015
Have you tried something like this Daniel?
route-map OSPF-REDIST permit 10
match ip address prefix-list PERMIT-OSPF
match interface Gig 2/5
route-map OSPF-REDIST deny 20
match interface Gig 2/5
route-map OSPF-REDIST permit 30
Pat
Wed, Apr 22, 2015 at 01:24:14AM -0400, Daniel Corbe wrote:
>
> 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.
>
> _______________________________________________
> cisco-nsp mailing list cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
--
Patrick Cole <z at wwwires.com>
Senior Network Specialist
World Without Wires
PO Box 869. Palm Beach, QLD, 4221
Ph: 0410 626 630
More information about the cisco-nsp
mailing list