---
type: Tool Reference
title: "snmpwalk Command Guide: Syntax, Examples & Options"
description: "Walk an SNMP subtree with snmpwalk — v2c and v3 syntax, output formatting, snmpbulkwalk for large tables, and common errors."
resource: "https://snmp-monitoring.info/tools/snmpwalk/"
tags: [tools]
timestamp: 2026-07-11T00:00:00Z
---

# snmpwalk Command Guide: Syntax, Examples & Options

Walk an SNMP subtree with snmpwalk — v2c and v3 syntax, output formatting, snmpbulkwalk for large tables, and common errors.

## Related concepts

- Up: [SNMP Tools & Software: CLI, Browsers & Monitoring](/tools/index.md)

## Frequently asked questions

### How do I use snmpwalk?

Run snmpwalk -v2c -c <community> <host> <OID-or-name> — for example snmpwalk -v2c -c public 10.0.0.20 system. It walks the subtree beneath the starting OID using GetNext and prints every object. For v3, replace -c with -u <user> -l authPriv -a SHA -A <authpass> -x AES -X <privpass>.

### What's the difference between snmpwalk and snmpbulkwalk?

snmpwalk issues one GetNext per object, which is simple but slow on large tables. snmpbulkwalk uses GetBulk (SNMPv2c and later) to retrieve many objects in a single request, greatly reducing round-trips. Use snmpbulkwalk for big tables on v2c+ agents; snmpwalk is fine for small subtrees or v1.

### How do I show numeric OIDs in snmpwalk?

Add the -On flag: snmpwalk -On -v2c -c <community> <host> <OID>. This prints dotted-decimal OIDs instead of resolving them to MIB names — useful when a name won't resolve because a MIB isn't loaded, or when you need the exact numeric OID for a script or config.

### Why does snmpwalk time out?

A timeout means no response came back at all — usually a firewall blocking UDP 161, the agent not running, the wrong host or port, or a source-IP ACL that excludes your machine. It's normally not a credential issue. Confirm reachability and that snmpd is running; see troubleshooting for the full workflow.

## Source

Concept generated from https://snmp-monitoring.info/tools/snmpwalk/ — the SNMP Monitoring vendor-neutral knowledge base. Content is limited to what that page states (no external claims added here).
