hwCdpComplianceEnable
HUAWEI-CDP-COMPLIANCE-MIB ·
.1.3.6.1.4.1.2011.5.25.198.1.1.1
Object
The administratively desired status of the global CDP compliance function. If the associated hwCdpComplianceEnable object has a value of 'disabled(2)', then the system will discard CDP packets. If the associated hwCdpComplianceEnable object has a value of 'enabled(1)', then the system will counter and keep the latest CDP packets.
Context
- MIB
- HUAWEI-CDP-COMPLIANCE-MIB
- OID
.1.3.6.1.4.1.2011.5.25.198.1.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- hwCdpComplianceConfiguration
- Groups
- 1
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 'HUAWEI-CDP-COMPLIANCE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-CDP-COMPLIANCE-MIB::hwCdpComplianceEnable.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-CDP-COMPLIANCE-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-CDP-COMPLIANCE-MIB::hwCdpComplianceEnable'
Syntax
- Source
- P-BRIDGE-MIBEnabledStatus
- Base type
Enumeration
Values & Constraints
Type Values
1 | enabled |
2 | disabled |
Conformance
Member of