Re: Redistribute Connected with route-map

From: Arista Wirawan <aristaw_at_gmail.com>
Date: Wed, 27 Jun 2012 20:26:02 +0800

Sorry, what do you mean by connected routes routing protocols.
If you mean the connected interface, yes, it will check whether this
interface is participate in ospf. Use this command, show ip ospf interface
brief to see which interface parcitipate on ospf , area number, type and
neighbor number.
We definetely need perform ospf adjency with its neighbor first (usually by
include the connected interface to the neighbor router in ospf) before
redistibution static to ospf route appear on the neighbor router. Yes, we
only need to redistribute one loopback interface. The deny 20 is no use, as
by default route map will deny anything. Remember to put keyword subnet to
allow it propage the subnet mask too.

Best Regards,

Arista
On Jun 27, 2012 6:04 PM, "Sergei Udovenko" <udovenko_at_gmail.com> wrote:

> 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
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html

Blogs and organic groups at http://www.ccie.net
Received on Wed Jun 27 2012 - 20:26:02 ART

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