mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-29 04:21:03 +08:00
snmp*: fix example mistakes (#15868)
This commit is contained in:
@@ -5,4 +5,4 @@
|
||||
|
||||
- Fetch the disk space usage:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}}`
|
||||
`snmpdf -v {{version}} -c {{community}} {{ip}}`
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
- Request the next value from the SNMP agent:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}} {{oid}}`
|
||||
`snmpgetnext -v {{version}} -c {{community}} {{ip}} {{oid}}`
|
||||
|
||||
- Display the full Object Identifier (OID) path:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} -O f {{ip}} {{oid}}`
|
||||
`snmpgetnext -v {{version}} -c {{community}} -O f {{ip}} {{oid}}`
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
- Set a value:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}} {{oid}} {{value_type}} {{value}}`
|
||||
`snmpset -v {{version}} -c {{community}} {{ip}} {{oid}} {{value_type}} {{value}}`
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
- Fetch the values:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}}`
|
||||
`snmpstatus -v {{version}} -c {{community}} {{ip}}`
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
- Fetch data:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}} {{oid}}`
|
||||
`snmptable -v {{version}} -c {{community}} {{ip}} {{oid}}`
|
||||
|
||||
@@ -5,4 +5,4 @@
|
||||
|
||||
- Start the prompt:
|
||||
|
||||
`snmpget -v {{version}} -c {{community}} {{ip}}`
|
||||
`snmptest -v {{version}} -c {{community}} {{ip}}`
|
||||
|
||||
Reference in New Issue
Block a user