All MIBs › HUAWEI-CONFIG-MAN-MIB › hwCfgOperateCompareConfig
hwCfgOperateCompareConfig
Module: HUAWEI-CONFIG-MAN-MIB
OID (symbolic): HUAWEI-CONFIG-MAN-MIB::hwCfgOperateCompareConfig
OID (numeric): 1.3.6.1.4.1.2011.6.10.1.2.7
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: compare configuration of the files
What is hwCfgOperateCompareConfig?
This triggers and reports a comparison between configuration files: initial means no comparison has run yet, same means the compared files match, and different means they don't. An admin sets or reads this to check whether the running configuration matches the saved startup configuration before a reboot.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.6.10.1.2.7 snmpwalk -v2c -c public <target> HUAWEI-CONFIG-MAN-MIB::hwCfgOperateCompareConfig
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.6.10.1.2.7.1 snmpget -v2c -c public <target> HUAWEI-CONFIG-MAN-MIB::hwCfgOperateCompareConfig.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.6.10.1.2.7.1 i <value>
Start monitoring Huawei router or switch (configuration save/load/backup management) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-CONFIG-MAN-MIB::hwCfgOperateCompareConfig OID value, configure state conditions and alerts, and monitor any Huawei router or switch (configuration save/load/backup management) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.2011 | huawei | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.6 | huaweiUtility | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.6.10 | hwConfig | HUAWEI-CONFIG-MAN-MIB |
| 1.3.6.1.4.1.2011.6.10.1 | hwConfigManObjects | HUAWEI-CONFIG-MAN-MIB |
| 1.3.6.1.4.1.2011.6.10.1.2 | hwCfgOperate | HUAWEI-CONFIG-MAN-MIB |
| 1.3.6.1.4.1.2011.6.10.1.2.7 | hwCfgOperateCompareConfig | HUAWEI-CONFIG-MAN-MIB |