Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

SNMP weird problem

Hi guys,

I am having weird problem on the network devices. Setup

WAN Router(E0/0 10.10.59.254)<-->Coreswitch(No Sup module)<-->Lan Router

Aslo, would appreciate if you could explain what does it mean for this?

"ipRouteEntry.7.207.107.68.64 = 172.28.59.254

ipRouteEntry.8.207.107.68.64 = 4"

debug snmp packet from LAN router)

ipRouteEntry.7.207.107.68.64 = 10.10.59.254

ipRouteEntry.8.207.107.68.64 = 4

ipRouteEntry.2.207.107.68.64 = 1

ipRouteEntry.1.207.107.68.64 = 207.107.68.64

ipRouteEntry.11.207.107.68.64 = 255.255.255.240

I got the result below when i issue.

207.107.68.64 is the external ip. I have no idea why i got IpRouteEntry 207.107.68.64(external IP). Thank you

Regards

WM

4 REPLIES
Red

Re: SNMP weird problem

To get a better understanding of what these mib objects mean, you may use the following link:

http://jaguar.ir.miami.edu/~marcus/snmptrans.html

In the place of ipRouteEntry, use 1.3.6.1.2.1.4.21.1

Basically, look up the following MIB objects:

1.3.6.1.2.1.4.21.1.1

1.3.6.1.2.1.4.21.1.2

1.3.6.1.2.1.4.21.1.7

1.3.6.1.2.1.4.21.1.8

1.3.6.1.2.1.4.21.1.11

New Member

Re: SNMP weird problem

Thanks Nadim. Two quick follow-up questions:

I'm seeing the following output when I debug SNMP packets:

Nov 2 12:59:31: SNMP: Response, reqid 4982449, errstat 0, erridx 0

ipRouteEntry.7.172.28.252.72 = 172.28.59.254

ipRouteEntry.8.172.28.252.72 = 4

ipRouteEntry.2.172.28.252.72 = 1

ipRouteEntry.1.172.28.252.72 = 172.28.252.72

ipRouteEntry.11.172.28.252.72 = 255.255.255.248

Nov 2 12:59:31: SNMP: Packet sent via UDP to 158.33.63.2

Nov 2 12:59:31: SNMP: Packet received via UDP from 158.33.63.2 on Ethernet0

Nov 2 12:59:31: SNMP: Get-next request, reqid 4982454, errstat 0, erridx 0

ipRouteEntry.7.172.28.252.72 = NULL

ipRouteEntry.8.172.28.252.72 = NULL

ipRouteEntry.2.172.28.252.72 = NULL

ipRouteEntry.1.172.28.252.72 = NULL

ipRouteEntry.11.172.28.252.72 = NULL

1. Notice how the second GETNEXT request is for the same route but the value returns as NULL. This seems to repeat for the whole routing table (The GETNEXTs are being generated by NNM). Any ideas?

2. Are the IP route addresses after the variable address considered the instance value of the variable? For example, 1.3.6.1.2.1.4.21.1.1 is the variable address and 172.28.252.72 is the instance?

appreciate any feedback.

Red

Re: SNMP weird problem

Get-next is coming in from the Network Management (NMS) application. This is the way SNMP works. The NMS send the requests with a value of NULL, and the agent fills in the blanks.

Yes, 172.28.252.72 is the instance.

New Member

Re: SNMP weird problem

Awesome. Thanks Nadim!

170
Views
0
Helpful
4
Replies