snmpclitools
snmpclitools copied to clipboard
Parser Error when trying to set time using 's' option with time string
I would like to set time and date on a piece of hardware and can successfully set the date as follows.
snmpset.py -v2c -c private 192.168.1.11 .1.3.6.1.4.1.3808.2.1.5.1.0 s 06\15\2020
However the following results in an error: Command-line parser error at token semicolon snmpset.py -v2c -c private 192.168.1.11 .1.3.6.1.4.1.3808.2.1.5.2.0 s 12:20:20
I believe the ':'s are the cause and not a semicolon. How can I use snmpset.py to set the time?