02-02-2014 05:26 AM
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.
Solved! Go to Solution.
02-02-2014 10:58 PM
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 ****
02-02-2014 07:43 PM
Hi Boyan,
can you add this command :
snmp-server view
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]
02-02-2014 10:47 PM
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
02-02-2014 10:58 PM
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 ****
02-02-2014 11:29 PM
Right,
Now I think my idea of SNMP agent configuration was a bit... wrong. Thank you
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide