cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
5252
Views
0
Helpful
4
Replies

snmpwalk outputs END_OF_MIB_VIEW_EXCEPTION

Boyan Sotirov
Level 1
Level 1

I've got this strange output when I start a snmpwalk on a Catalyst switch. From the Linux console I've thot the following output:

admin@Studio-1555:~$ snmpwalk -v 2c -c public <ip_address>

iso.3.6.1.2.1.2.1 = No more variables left in this MIB View (It is past the end of the MIB tree)

On the switch at the same time with debug snmp packet on:

44w3d: SNMP: Packet received via UDP from 192.168.88.2 on Vlan3022

44w3d: SNMP: Get-next request, reqid 429376307, errstat 0, erridx 0

ifNumber = NULL TYPE/VALUE

44w3d: SNMP: Response, reqid 429376307, errstat 0, erridx 0

ifNumber = END_OF_MIB_VIEW_EXCEPTION

44w3d: SNMP: Packet sent via UDP to 192.168.88.2

I sniffed the snmp packets I sent to the switch and it turns out that I'm sending a get-next request with OID 1.3.6.1.2.1 which is... pretty standard I guess, as I use the same command for other devices and it works. Again sniffing the snmp traffic reveals that the snmpwalk program uses the same initial OID to start "walking" the node.

Am I missing something?

The switch in question is Catalyst WS-2960G-24TC-L with c2960-lanbasek9-mz.122-52.SE image.


1 Accepted Solution

Accepted Solutions

Hi Boyan,

snmp-server host comman  >> is used just to notify or to send traps to the host sever.

Thanks-

Afroz

[Do rate the useful post]

****Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

4 Replies 4

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Boyan,

can you add this command :

snmp-server view iso included

for e.g

snmp--server view test iso included

Also make sure we are using the correct community string ,if possible try to re-dd the community string if above command

does not work.

Thanks-

Afroz

[Do rate the useful post]

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Hi...

Thank you for this hint. It turned out to be the snmp community.

I thaught that by having it configured with the snmp-server host command is enough.... apparently it isn't

Regards,

Boyan

Hi Boyan,

snmp-server host comman  >> is used just to notify or to send traps to the host sever.

Thanks-

Afroz

[Do rate the useful post]

****Ratings Encourages Contributors ****

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

Right,

Now I think my idea of SNMP agent configuration was a bit... wrong. Thank you