Ospf-distance command

From: SHARMA,MOHIT (HP-Germany,ex1) (mohit.sharma@hp.com)
Date: Sun Jul 06 2003 - 17:49:54 GMT-3


HI All,

While using distance command in ospf I saw the following-
unit6#sh run | begin router ospf
router ospf 1
 router-id 135.1.6.6
 log-adjacency-changes
 auto-cost reference-bandwidth 1000
 area 0 authentication message-digest
 redistribute rip subnets route-map riptoospf
 redistribute eigrp 1 subnets
 network 135.1.6.6 0.0.0.0 area 0
 network 135.1.116.0 0.0.0.255 area 0
 distance 140 0.0.0.0 255.255.255.255 19

router rip
 version 2
 timers basic 45 270 270 360
 redistribute ospf 1 metric 2 route-map ospftorip
 passive-interface default
 no passive-interface Ethernet2/1
 network 135.1.0.0
 no auto-summary

access-list 19 permit 135.1.187.0
access-list 19 permit 135.1.7.7
access-list 19 permit 135.1.2.2
access-list 19 permit 135.1.27.0
access-list 66 permit 195.1.6.0 0.0.0.255

I am doing a mutual redistribution, on two routers, so using distance
command in ospf to make the original RIP routes, stay in RIP.
here is what is confusing-
Routing Protocol is "ospf 1"
  Outgoing update filter list for all interfaces is not set
  Incoming update filter list for all interfaces is not set
  Router ID 135.1.6.6
  It is an autonomous system boundary router
  Redistributing External Routes from,
    rip, includes subnets in redistribution
    eigrp 1, includes subnets in redistribution
  Number of areas in this router is 1. 1 normal 0 stub 0 nssa
  Maximum path: 4
  Routing for Networks:
    135.1.6.6 0.0.0.0 area 0
    135.1.116.0 0.0.0.255 area 0
  Routing Information Sources:
    Gateway Distance Last Update
    135.1.6.6 140 00:04:37 <--------------------------Why
do I see all these networks listed here.These r
    135.1.1.1 140 00:04:37
<--------------------------actually the all the ospf router ids in the area.

    135.1.8.8 140 00:04:37 <--------------------------
    135.1.10.10 140 00:04:37 <--------------------------
  Distance: (default is 110)
    Address Wild mask Distance List
    0.0.0.0 255.255.255.255 140 19

Am I using a wrong access list?? OR am I doing something wrong??
Please comment.

Thanks,

Mohit.



This archive was generated by hypermail 2.1.4 : Wed Aug 06 2003 - 06:52:26 GMT-3