agentReset

AGENT-GENERAL-MIB · .1.3.6.1.4.1.171.12.1.2.20

Object

scalar r/w Enumeration
Used to reset all switch parameters.
          
none (1): No action. This is the default value of this object.
config (2): All parameters are reset to default settings.
                       The device will neither save nor reboot.
system (3): All parameters are reset to default settings.
                       The switch will then do a factory reset, save, and reboot.
reset (4) : All parameters will be reset to default settings except for the
                       IP address, user account, and history log.
                       The device will neither save nor reboot.
system-exclude-vlan(5)   : All parameters are reset to default settings except for VLAN.
              The switch will then save its settings and reboot.
system-exclude-ip(6)     : All parameters are reset to default settings except IP address.
              The switch will then save its settings and reboot.
system-exclude-vlan-ip(7): All parameters are reset to default settings except VLAN and IP address.
              The switch will then save its settings and reboot.

Context

MIB
AGENT-GENERAL-MIB
OID
.1.3.6.1.4.1.171.12.1.2.20
Type
scalar
Access
readwrite
Status
current
Parent
agentBasicConfig

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'AGENT-GENERAL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'AGENT-GENERAL-MIB::agentReset.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'AGENT-GENERAL-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'AGENT-GENERAL-MIB::agentReset'

Syntax

Enumeration

Values & Constraints

No enumerated values or constraints recorded.