Re: distance 0.0.0.0 255.255.255.255 [word] - standard ip

From: marc edwards <renorider_at_gmail.com>
Date: Wed, 25 Jan 2012 08:40:47 -0800

Thanks Christian:

I am working through a redistribution-heavy Cisco 360 lab. Commands came
from the CLI mentor (answer key). I understand that this is
locally significant. If that is the case, then I am not understanding why
the configuration is used as this subnet was never OSPF owned.

I did test moving the AD to 10 on OSPF. It didn't change metric on routing
table...

Marc

On Wed, Jan 25, 2012 at 7:38 AM, Christian Hunter <stasis416_at_gmail.com>wrote:

> I'm not sure I'm understanding what your trying to achieve. However, your
> stating that your not seeing routes on R1 with a distance of 171 and the
> relevant config you post is for R4 where your setting distance to 171 via
> the standard named ACL.
>
> Remember distance is locally significant. If you change the distance on a
> router it impacts how that router determines feasibility of routing
> protocols, AD doesn't get passed on the routing domain. So if you want to
> see R1 with routes of 171 AD, you need to modify the distance there. Your
> solution of how your applying distance looks fine. It just needs to be a
> standard ACL.
>
> Hope that helps.
> Christian Hunter
>
>
>
> On Wed, Jan 25, 2012 at 9:37 AM, marc edwards <renorider_at_gmail.com> wrote:
>
>> Btw. Still no change to AD.
>>
>> On Wednesday, January 25, 2012, marc edwards <renorider_at_gmail.com> wrote:
>> > Sorry nick. I meant AD.... Thanks for clarification
>> >
>> > On Wednesday, January 25, 2012, Nick E <ccienovice_at_gmail.com> wrote:
>> >> Hi Marc,
>> >>
>> >> distance command will change the AD on the router and not the metric.
>> If
>> you want change the metric use the below command:-
>> >>
>> >> redistribute eigrp 30 metric 171 subnets
>> >>
>> >> Cheers,
>> >> Nick
>> >>
>> >> On Wed, Jan 25, 2012 at 11:00 AM, marc edwards <renorider_at_gmail.com>
>> wrote:
>> >>>
>> >>> I have :
>> >>>
>> >>> lo7-SW3->EIGRP->R4->OSPF->R1
>> >>>
>> >>> lo7 shows up in r4 table as eigrp external:
>> >>>
>> >>> D EX 135.15.107.0 [170/261120] via 135.15.20.7, 04:47:15,
>> FastEthernet0/0
>> >>>
>> >>> I am redistributing this into ospf 1 and sending along to r1
>> >>>
>> >>> Type-5 AS External Link States
>> >>>
>> >>> Link ID ADV Router Age Seq# Checksum Tag
>> >>> 135.15.107.0 135.15.104.1 1314 0x80000002 0x009409 0
>> >>>
>> >>> Furthermore this is advertised with AD of 171 not to overtake routes
>> that
>> >>> could potentially show up on neighbor with a 'distance 171 0.0.0.0
>> >>> 255.255.255.255 ospf-distance'
>> >>>
>> >>> R4#sh ip access-lists ospf-distance
>> >>> Standard IP access list ospf-distance
>> >>> 10 permit 135.15.107.0
>> >>> 20 permit 135.15.110.0
>> >>> 30 permit 135.15.120.0
>> >>>
>> >>> I am not seeing any hits on ACL nor am these routes on R1 with a
>> distance
>> >>> of 171:
>> >>>
>> >>> O E2 135.15.107.0 [110/20] via 135.15.14.4, 00:00:17,
>> Serial0/0/0.14
>> >>>
>> >>>
>> >>> Here is relavant config on R4:
>> >>>
>> >>> router ospf 1
>> >>> log-adjacency-changes
>> >>> area 10 virtual-link 135.15.101.1
>> >>> redistribute connected subnets route-map connected->ospf
>> >>> redistribute eigrp 30 subnets route-map eigrp->ospf
>> >>> network 135.15.10.4 0.0.0.0 area 0
>> >>> network 135.15.14.4 0.0.0.0 area 10
>> >>> network 135.15.34.4 0.0.0.0 area 10
>> >>> distance 171 0.0.0.0 255.255.255.255 ospf-distance
>> >>>
>> >>> ip access-list standard ospf-distance
>> >>> permit 135.15.107.0
>> >>> permit 135.15.110.0
>> >>> permit 135.15.120.0
>> >>>
>> >>>
>> >>> I thought this would redistribute eigrp learned route with metric of
>> 171 to
>> >>> neighbors. This isn't a big problem on R1 but it causes a recursive
>> routing
>> >>> problem on neighbor R5.... Am I not understanding how this command
>> works?
>> >>>
>> >>>
>> >>> 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
>>
>> _______________________________________________________________________
>> 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 Jan 25 2012 - 08:40:47 ART

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 11:52:52 ART