← 返回命令列表

Linux command

snmpnetstat 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Show network connections

snmpnetstat -v [2c] -c [public] [host]

Show routing table

snmpnetstat -v [2c] -c [public] -Cr [host]

Show interface statistics

snmpnetstat -v [2c] -c [public] -Ci [host]

说明

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.

参数

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

FAQ

What is the snmpnetstat command used for?

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.

How do I run a basic snmpnetstat example?

Run `snmpnetstat -v [2c] -c [public] [host]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v _version_ do in snmpnetstat?

SNMP version (1, 2c, 3).