snmpv2-status
Get SNMP device status and system information using SNMPv2c.
snmpv2-status community=COMMUNITY host=HOST [timeout=NUM{m|s}] [retry=RETRY]
- community=COMMUNITY
- SNMP community string (e.g., public)
- host=HOST
- Comma-separated host:port list
- timeout=NUM{m|s}
- Timeout in seconds (default: 5)
- retry=RETRY
- Retry count (default: 2)
Output Fields
| Field | Type | Name | Description |
|---|---|---|---|
| host | String | Host | Target host |
| port | Integer | Port | Target port |
| status | String | Status | Connection status (success/timeout/error) |
| sys_descr | String | System Description | System description |
| sys_uptime | String | System Uptime | System uptime |
| sys_contact | String | System Contact | System contact |
| sys_name | String | System Name | System name |
| sys_location | String | System Location | System location |
| error_message | String | Error Message | Error message if failed |