All MIBs › HUAWEI-CDP-COMPLIANCE-MIB › hwCdpComplianceEnable
hwCdpComplianceEnable
Module: HUAWEI-CDP-COMPLIANCE-MIB
OID (symbolic): HUAWEI-CDP-COMPLIANCE-MIB::hwCdpComplianceEnable
OID (numeric): 1.3.6.1.4.1.2011.5.25.198.1.1.1
Node type: OBJECT-TYPE
Type: EnabledStatus
Access: read-write
Description: The administratively desired status of the global CDP compliance function. If the associated hwCdpComplianceEnable object has a value of 'disable(2)', then the system will discard CDP packets. If the associated hwCdpComplianceEnable object has a value of 'enable(1)', then the system will counter and keep the latest CDP packets.
What is hwCdpComplianceEnable?
This EnabledStatus value is the administratively desired state of the global CDP (Cisco Discovery Protocol) compliance function on the device. When set to disable(2) the system discards received CDP packets; when set to enable(1) it counts and keeps the latest CDP packets. An admin would set this to enable(1) to let the switch interoperate with neighboring Cisco equipment that advertises itself via CDP.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.198.1.1.1 snmpwalk -v2c -c public <target> HUAWEI-CDP-COMPLIANCE-MIB::hwCdpComplianceEnable
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.198.1.1.1.1 snmpget -v2c -c public <target> HUAWEI-CDP-COMPLIANCE-MIB::hwCdpComplianceEnable.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.198.1.1.1.1 s <value>
Start monitoring Huawei switch interoperating with Cisco CDP in mixed-vendor networks with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HUAWEI-CDP-COMPLIANCE-MIB::hwCdpComplianceEnable OID value, configure state conditions and alerts, and monitor any Huawei switch interoperating with Cisco CDP in mixed-vendor networks from a single console.
OID Breakdown
Upper-level ancestors (9 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 | EXPERTV2-MIB |
| 1.3.6.1.4.1.2011.5 | huaweiMgmt | HUAWEI-3COM-OID-MIB |
| 1.3.6.1.4.1.2011.5.25 | huaweiDatacomm | HUAWEI-3COM-OID-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.2011.5.25.198 | hwCdpComplianceMIB | HUAWEI-CDP-COMPLIANCE-MIB |
| 1.3.6.1.4.1.2011.5.25.198.1 | hwCdpComplianceObjects | HUAWEI-CDP-COMPLIANCE-MIB |
| 1.3.6.1.4.1.2011.5.25.198.1.1 | hwCdpComplianceConfiguration | HUAWEI-CDP-COMPLIANCE-MIB |
| 1.3.6.1.4.1.2011.5.25.198.1.1.1 | hwCdpComplianceEnable | HUAWEI-CDP-COMPLIANCE-MIB |