All MIBs › HUAWEI-CDP-COMPLIANCE-MIB › hwCdpCompliancePortConfigAdminStatus
hwCdpCompliancePortConfigAdminStatus
Module: HUAWEI-CDP-COMPLIANCE-MIB
OID (symbolic): HUAWEI-CDP-COMPLIANCE-MIB::hwCdpCompliancePortConfigAdminStatus
OID (numeric): 1.3.6.1.4.1.2011.5.25.198.1.1.3.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: 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.
What is hwCdpCompliancePortConfigAdminStatus?
This per-port setting controls CDP compliance behavior on an interface, either disabled(1), which discards received CDP packets, or rxOnly(2), which receives and stores them without transmitting CDP frames out that port. Admins use rxOnly(2) to passively learn about CDP-speaking neighbors on a port while keeping the port itself silent. For example, a port facing a Cisco IP phone might be set to rxOnly(2) so the switch can see it without sending its own CDP advertisements.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.198.1.1.3.1.2 snmpwalk -v2c -c public <target> HUAWEI-CDP-COMPLIANCE-MIB::hwCdpCompliancePortConfigAdminStatus
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.2011.5.25.198.1.1.3.1.2.1 snmpget -v2c -c public <target> HUAWEI-CDP-COMPLIANCE-MIB::hwCdpCompliancePortConfigAdminStatus.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.2011.5.25.198.1.1.3.1.2.1 i <value>
SNMPv3 example:
snmpget -v3 -l authPriv -u snmpv3-user -a SHA -A "AuthPassword1" -x AES -X "PrivPassword1" <target> hwCdpCompliancePortConfigAdminStatus.1
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::hwCdpCompliancePortConfigAdminStatus 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.3 | hwCdpCompliancePortConfigTable | HUAWEI-CDP-COMPLIANCE-MIB |
| 1.3.6.1.4.1.2011.5.25.198.1.1.3.1 | hwCdpCompliancePortConfigEntry | HUAWEI-CDP-COMPLIANCE-MIB |
| 1.3.6.1.4.1.2011.5.25.198.1.1.3.1.2 | hwCdpCompliancePortConfigAdminStatus | HUAWEI-CDP-COMPLIANCE-MIB |