Spikes
3 posts

Hi Everyone

I was wondering how to extract SNMP data from a remote device which only supports v3 from a windows machine. Windows only supports only v1 and v2c. (via snmpwalk)

Thanks

mackelbeast
2 posts

Is the remote device a Cisco router or switch? You can setup a Cisco router and switch do respond and work with both SNMP version 1 and 3.

rafadelapena
1 post

It´s not so hard to configure and test, i have Net-SNMP on my laptop and i can get information without any trouble im postin an example how to configure it on Cisco devices runing IOS and CatOS in this case the view i created include all the tree starting from .iso, but you can narrow it if you want.

Also the line how to snmpwalk for V3 using MD5

------ IOS ------

Step 1. Create a view to restrict user privileges.

snmp-server view cisco-view iso included

Step 2. Create a group to asign read and write access.

snmp-server group rafa-grp v3 auth read cisco-view write cisco-view

Step 3. Create a user to work within the gropu created and set a password.

snmp-server user admin-usr rafa-grp v3 auth md5 cisco123

----- CatOS ------

To enable SNMP v3 on Catalyst OS devices, follow these steps:

Step 1 Create a view.

set snmp view cisco-view 1 included nonvolatile

Step 2 Set the security model and create a group.

set snmp access rafa-grp security-model v3 authentication read cisco-view write cisco-view nonvolatile

Step 3 Create a user and specify the authentication protocol to be used and set a password.

set snmp user admin-usr authentication md5 cisco123

Step 4 Asociate the group with the user.

set snmp group rafa-grp user admin-usr security-model v3 nonvolatile


To test from the CLI on windows :

snmpwalk -v 3 -l auth -u admin-usr -a md5 -A cisco123 [IP] [OID]

I hope that helps, and sorry for my english =/

Spikes
3 posts

Thanks guys.

Viewing 1 - 4 of 4

  • 1