-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
BitwiseOperator
committed
Oct 14, 2024
1 parent
a474585
commit 96e0057
Showing
2 changed files
with
17 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,20 @@ | ||
!!! info "" | ||
|
||
Example | ||
#### SNMP set | ||
|
||
**SNMP set** allows you to make changes to device configuration using OID of the device's MIB, for instance, enabling telnet through SNMP. | ||
|
||
I use [ezfive SnmpSet.exe](https://ezfive.com/snmpsoft-tools/snmp-set/), you can download it and then open a `cmd` windows, navigate to the exe file location then call it and pass the values to it. | ||
|
||
Note that you cannot just copy pasta the below, you will need to change the values based on MIB/OID and host. | ||
|
||
```bash | ||
snmpset.exe -r:192.168.1.10 -c:password -t:10 -tp:int -v:2c -o:.1.3.6.1.4.1.1234.1.1.2.1.32.0 -val:1 | ||
``` | ||
|
||
#### Other tools | ||
|
||
If you get your hands on a MIB from whatever vendor, using something like [ireasoning MIB Browser](https://www.ireasoning.com/mibbrowser.shtml) might help you dig down into the OIDs and understand their values, description and data types. | ||
|
||
Other useful tools [SnmpGet](https://ezfive.com/snmpsoft-tools/snmp-get/) & [SnmpWalk](https://ezfive.com/snmpsoft-tools/snmp-walk/). | ||
|