nv-l
[Top] [All Lists]

[nv-l] mibtable hangs for ospf table on cisco

To: nv-l@lists.us.ibm.com
Subject: [nv-l] mibtable hangs for ospf table on cisco
From: thierry.van-mol@ciev.vd.ch
Date: Thu, 15 Apr 2004 12:17:14 +0200
Delivery-date: Thu, 15 Apr 2004 11:24:56 +0100
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
Sensitivity:
By trying Leslie's script get_ospf_if_sh, I discovered that the script
hangs
on all my cisco routers. By trying the mibtable , I discover that it hangs
after a few "dummy" ospf entries:


# /usr/OV/bin/mibtable -table ".1.3.6.1.2.1.14.7.1" \
      -fields "ospfIfIpAddress=1:15,ospfIfAreaId=3:15,ospfIfAdminStat=5:8"
-node router1

                      User Specified MIB Table for router1

ospfIfIpAddress  ospfIfAreaId     ospfIfAdminStat
0.0.0.0          0.0.0.0          disabled
0.0.0.0          0.0.0.0          disabled
0.0.0.0          0.0.0.0          disabled




and then mibtable hangs.

If I do a snmpwalk on the node, it works OK:

# snmpwalk router1 .1.3.6.1.2.1.14.7.1
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.0.0.0.0.1 : IpAddress:
0.0.0.0
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.0.0.0.0.2 : IpAddress:
0.0.0.0
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.0.0.0.0.3 : IpAddress:
0.0.0.0
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.200.195.1.0 : IpAddress:
10.200.195.1
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.200.223.6.0 : IpAddress:
10.200.223.6
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.208.4.1.0 : IpAddress:
10.208.4.1
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.208.15.130.0 : IpAddress:
10.208.15.130
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.210.5.1.0 : IpAddress:
10.210.5.1
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.210.226.18.0 : IpAddress:
10.210.226.18
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.224.142.1.0 : IpAddress:
10.224.142.1
.............


The number of those "dummy" instances in the mib varies from router to
router, but there is
at least one. For example:

# /usr/OV/bin/mibtable -table ".1.3.6.1.2.1.14.7.1" \
         -fields
"ospfIfIpAddress=1:15,ospfIfAreaId=3:15,ospfIfAdminStat=5:8" -node router2

                      User Specified MIB Table for router2

ospfIfIpAddress  ospfIfAreaId     ospfIfAdminStat
0.0.0.0          0.0.0.0          disabled

then hangs...


#snmpwalk router2 .1.3.6.1.2.1.14.7.1
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.0.0.0.0.3 : IpAddress:
0.0.0.0
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.216.107.1.0 : IpAddress:
10.216.107.1
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.242.128.4.0 : IpAddress:
10.242.128.4
ospf.ospfIfTable.ospfIfEntry.ospfIfIpAddress.10.242.129.14.0 : IpAddress:
10.242.129.14
ospf.ospfIfTable.ospfIfEntry.ospfAddressLessIf.0.0.0.0.3 : INTEGER: 3
ospf.ospfIfTable.ospfIfEntry.ospfAddressLessIf.10.216.107.1.0 : INTEGER: 0
ospf.ospfIfTable.ospfIfEntry.ospfAddressLessIf.10.242.128.4.0 : INTEGER: 0
ospf.ospfIfTable.ospfIfEntry.ospfAddressLessIf.10.242.129.14.0 : INTEGER: 0
ospf.ospfIfTable.ospfIfEntry.ospfIfAreaId.0.0.0.0.3 : IpAddress:
0.0.0.0
ospf.ospfIfTable.ospfIfEntry.ospfIfAreaId.10.216.107.1.0 : IpAddress:
0.12.1.0
......



Any ideas?
Thanks.

Thierry




<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web