Skip to content

Parser Error when trying to set time using 's' option with time string #15

@rlphelps

Description

@rlphelps

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions