LinuxCommandLibrary

snmptable

Display SNMP MIB data in table format

TLDR

Display SNMP table

$ snmptable -v [2c] -c [public] [host] [TABLE_OID]
copy
Show with column headers
$ snmptable -v [2c] -c [public] -Cb [host] [TABLE_OID]
copy
Show interface table
$ snmptable -v [2c] -c [public] [host] ifTable
copy

SYNOPSIS

snmptable [options] agent tableoid_

DESCRIPTION

snmptable displays SNMP table data in tabular format. Retrieves and formats MIB tables for easy reading. Part of Net-SNMP suite for network management.

PARAMETERS

-v version

SNMP version (1, 2c, 3).
-c community
Community string.
-Cb
Brief column names.
-Cf sep
Field separator.
-Cw width
Column width.

SEE ALSO

snmpwalk(1), snmpget(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community