LinuxCommandLibrary

snmpnetstat

Display remote network status via SNMP

TLDR

Show network connections

$ snmpnetstat -v [2c] -c [public] [host]
copy
Show routing table
$ snmpnetstat -v [2c] -c [public] -Cr [host]
copy
Show interface statistics
$ snmpnetstat -v [2c] -c [public] -Ci [host]
copy

SYNOPSIS

snmpnetstat [options] agent

DESCRIPTION

snmpnetstat displays network status from remote hosts via SNMP. Similar to netstat but retrieves data over network using SNMP protocol. Part of Net-SNMP suite.

PARAMETERS

-v version

SNMP version (1, 2c, 3).
-c community
Community string.
-Ci
Interface statistics.
-Cr
Routing table.
-Cs
Protocol statistics.

SEE ALSO

snmpget(1), netstat(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community