Redistribute Connected with route-map

From: Sergei Udovenko <udovenko_at_gmail.com>
Date: Wed, 27 Jun 2012 12:18:39 +0300

Hello,

Can't understand one issue. Let's say I have one Router with 4 connected
interfaces, 3 of the I'm running OSPF and one I want to redistribute to
OSPF as external. When doing *redistribute connected subnets route-map
CONN->OSPF*
*
*
Rack1SW1#sh route-map
route-map CONN->OSPF, permit, sequence 10
  Match clauses:
    interface Loopback0
  Set clauses:
  Policy routing matches: 0 packets, 0 bytes
route-map CONN->OSPF, deny, sequence 20
  Match clauses:
  Set clauses:
  Policy routing matches: 0 packets, 0 bytes

On peering router i receive 3 of the as regular OSPF routes and one E2.

My question is, when doing redistribution it's shouldn't check first
connected routes running protocol *(AND IF I HAVE ROUTE-MAP matching only
one connected interface, so i need to get only loopback interface on
peering router?*) and after that sh ip route ospf for redistribution?

--------------------
Best regards,
Sergei Udovenko

Blogs and organic groups at http://www.ccie.net
Received on Wed Jun 27 2012 - 12:18:39 ART

This archive was generated by hypermail 2.2.0 : Sun Jul 01 2012 - 10:39:52 ART