FQDN – Random Stuffs

NET-SNMP snmpwalk simple example

Posted on: 17 de April de 2012


The NET-SNMP snmpwalk command is a really good tool , but it has a really big help output, to simplify things just use one of the below examples and, if needed add the adequate parameters:

SNMP v1:

snmpwalk -v1 -c <community> <ipaddress>[:<dest_port>] <oid>

example:
snmpwalk -v1 -cpublic 127.0.0.1:161 system

SNMP v2:

snmpwalk -v2c -c <community> <ipaddress>[:<dest_port>] [oid]

example:
snmpwalk -v2c -c public 127.0.0.1:161 system

SNMP v3:

snmpwalk -v3  -l <noAuthNoPriv|authNoPriv|authPriv> -u <username> [-a <MD5|SHA>] [-A <authphrase>]  [-x DES] [-X <privaphrase>] <ipaddress>[:<dest_port>] [oid]

example:
snmpwalk -v3  -l authPriv -u snmpadmin -a MD5 -A PaSSword  -x DES -X PRIvPassWord 127.0.0.1:161 system

Advertisements

1 Response to "NET-SNMP snmpwalk simple example"

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

Livio Zanol Puppim

Livio Zanol Puppim

Just another guy that likes technology stuffs and beer

View Full Profile →

Categories

Archive

Advertisements