snmpwalk

Walk an SNMP tree to extract device data.

KaliParrotLinuxlow

pkg: snmp

snmpwalk queries SNMP-enabled devices, often revealing system info, interfaces, routes and sometimes credentials when default community strings are set.

Syntax

snmpwalk -v{1|2c} -c {community} {host}

Example

snmpwalk -v2c -c public 10.0.0.1

Walks the full MIB tree using the default "public" community string.

Options & flags

What each switch does. Toggle them in the builder below to assemble a command.

-v <2c>SNMP version: 1, 2c or 3.
-c <public>Community string.
-On <value>Print OIDs numerically.
-CcDo not check for increasing OIDs.

Command builder

Tick options (and fill any values) to build a ready-to-copy command.

snmpwalk

Usage examples

snmpwalk -v2c -c public 10.0.0.1

Walk the whole MIB tree.

snmpwalk -v2c -c public 10.0.0.1 1.3.6.1.2.1.25.4.2.1.2

Walk a specific OID (running processes).

Advantages
  • Default "public" often works
  • Exposes detailed device internals
  • Great for network device recon
Disadvantages
  • Needs a valid community string
  • Verbose output to triage
  • UDP can be filtered
Tags
#snmp#network

Official docs: net-snmp

Related commands

Frequently asked questions

What is snmpwalk used for?
snmpwalk queries SNMP-enabled devices, often revealing system info, interfaces, routes and sometimes credentials when default community strings are set.
What is an example snmpwalk command?
A common example is: snmpwalk -v2c -c public 10.0.0.1 — Walks the full MIB tree using the default "public" community string.
Is snmpwalk part of Kali Linux?
Yes. snmpwalk ships with Kali Linux (and Parrot OS). If missing, install it with: sudo apt install snmp.
What category of security tool is snmpwalk?
snmpwalk is a Information Gathering tool with a low-risk profile when run against a live target.

Try recon tools live

Run real scans against a domain you control, stage by stage.

Open the lab →