Re: distance

From: Richard Gallagher (rgallagh@xxxxxxxxx)
Date: Fri Aug 31 2001 - 08:11:03 GMT-3


   
Try using a wildcard mask instead, this seems to solve the issue:

- distance 150 170.10.2.0 0.0.0.255

router ospf 1
 log-adjacency-changes
 network 170.10.2.0 0.0.0.255 area 0
 distance 150 170.10.2.0 0.0.0.255

Rich

On Aug 31, 11:05am, CCIE yong chatted about:
> Subject:distance
> Hi,
>
> How to set the distance to something higher for a specific learned network
> and at the same time remain the default admin distance for the rest of the
> other learn routes.
>
> Trying to do something like below, doesn't seems to change the distance,
> and what I keyed in reflect diffrently on the config file.
>
> what I typed was,
> "distance 150 170.10.2.0 255.255.255.0"
>
> But display as follows:
>
> router ospf 1
> redistribute rip metric 20 subnets route-map rip2ospf
> network 170.10.7.0 0.0.0.15 area 0
> network 170.10.8.0 0.0.0.255 area 0
> distance 150 0.0.0.0 255.255.255.0
>
> Please help.
>
> Thanks
> Yonger
>
>
>



This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:32:01 GMT-3