mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-03 20:35:32 +02:00
snmp*: fix example mistakes (#15868)
This commit is contained in:
parent
ea359b5419
commit
26396df06a
6 changed files with 7 additions and 7 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue