agentReset
DLINK-AGENT-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,
but 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
IP address, user account, and history log,
but the device will neither save nor reboot.
system-exlude-vlan(5) : All parameters are reset to default settings except VLAN.
The switch will then save its settings and reboot.
system-_exlude-ip(6) : All parameters are reset to default settings except IP address.
The switch will then save its settings and reboot.
system-exlude-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
- DLINK-AGENT-MIB
- OID
.1.3.6.1.4.1.171.12.1.2.20- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- agentBasicConfig
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DLINK-AGENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DLINK-AGENT-MIB::agentReset.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DLINK-AGENT-MIB' -M '/opt/observium/mibs/d-link:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DLINK-AGENT-MIB::agentReset'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | none |
2 | config |
3 | system |
4 | reset |
5 | system-exclude-vlan |
6 | system-exclude-ip |
7 | system-exclude-vlan-ip |