cmGwWanSetToFactory

CM-GATEWAY-MIB · .1.3.6.1.4.1.1166.1.19.52.1.1.2

Object

scalar r/w SNMPv2-TCTruthValue
Setting this object to true(1) causes the WAN default 
options to be returned back to factory defaults.
Reading this object always returns false(2).
                          
The following object values are reset when cmGwWanSetToFactory is set to
'true'. cmGwWanDhcpcAdminStatus is set to it's default value. The values
of the remaining objects are all cleared. Strings are set to NULL and
IP addresses are set to 0.0.0.0.    
          
cmGwWanDhcpcAdminStatus,
cmGwWanInetAddressType,
cmGwWanInetAddress,
cmGwWanHostName,
cmGwWanSubnetMaskType,
cmGwWanSubnetMask,
cmGwWanRouterType,
cmGwWanRouter
          
All entries in cmGwWanDnsServerTable will be destroyed.  
          
All reset defaults will not take effect until the unit is rebooted.

Context

MIB
CM-GATEWAY-MIB
OID
.1.3.6.1.4.1.1166.1.19.52.1.1.2
Type
scalar
Access
readwrite
Status
current
Parent
cmGwBaseMib
Groups
1

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

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

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false

Conformance

Member of