hwCdpCompliancePortConfigAdminStatus

HUAWEI-CDP-COMPLIANCE-MIB · .1.3.6.1.4.1.2011.5.25.198.1.1.3.1.2

Object

column r/w Enumeration
The administratively desired status of the CDP compliance of the port.
If the associated hwCdpCompliancePortConfigAdminStatus object has a
value of 'disabled(1)', then port will discard CDP packets received on this port.
If the associated hwCdpCompliancePortConfigAdminStatus object has a
value of 'rxOnly(2)', then the port will receive and store the CDP packet,
but it will not transmit CDP frames on this port.

Context

MIB
HUAWEI-CDP-COMPLIANCE-MIB
OID
.1.3.6.1.4.1.2011.5.25.198.1.1.3.1.2
Type
column
Access
readwrite
Status
current
Parent
hwCdpCompliancePortConfigEntry
Groups
1

Walk the column to discover its indexed instances, or supply every index to read one instance.

Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -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::hwCdpCompliancePortConfigAdminStatus'
More examples
Read one indexed 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::hwCdpCompliancePortConfigAdminStatus.<hwCdpCompliancePortConfigIfIndex>'
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::hwCdpCompliancePortConfigAdminStatus'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1disabled
2rxOnly

Conformance