Linux command
snmpstatus 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show host status
snmpstatus -v [2c] -c [public] [host]
Show status with SNMPv3
snmpstatus -v [3] -u [user] -l authPriv -a SHA -A [authpass] [host]
说明
snmpstatus retrieves status information from an SNMP agent. Shows system description, uptime, and interface summary. Quick health check for network devices. Part of Net-SNMP suite.
参数
- -v _version_
- SNMP version (1, 2c, 3).
- -c _community_
- Community string.
- -u _user_
- SNMPv3 username.
- -l _level_
- Security level.
FAQ
What is the snmpstatus command used for?
snmpstatus retrieves status information from an SNMP agent. Shows system description, uptime, and interface summary. Quick health check for network devices. Part of Net-SNMP suite.
How do I run a basic snmpstatus example?
Run `snmpstatus -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 snmpstatus?
SNMP version (1, 2c, 3).