cdpCachePrimaryMgmtAddr
CISCO-CDP-MIB ·
ciscosb variant
·
.1.3.6.1.4.1.9.9.23.1.2.1.1.20
Object
column CISCO-TCCiscoNetworkAddress
This object indicates the (first) network layer address at which the device will accept SNMP messages as reported in the first address in the Management-Address TLV of the most recently received CDP message. If the corresponding instance of cdpCachePrimaryMgmtAddrType has the value 'ip(1)', then this object would be an IP-address. If the remote device is not currently manageable via any network protocol, then it reports the special value of the IPv4 address 0.0.0.0, and that address is recorded in this object. If the most recently received CDP message did not contain the Management-Address TLV, then this object is not instanstiated.
Context
- MIB
- CISCO-CDP-MIB
- OID
.1.3.6.1.4.1.9.9.23.1.2.1.1.20- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cdpCacheEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk 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 'CISCO-CDP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-CDP-MIB::cdpCachePrimaryMgmtAddr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-CDP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-CDP-MIB::cdpCachePrimaryMgmtAddr.<cdpCacheIfIndex>.<cdpCacheDeviceIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-CDP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-CDP-MIB::cdpCachePrimaryMgmtAddr'
Syntax
- Source
- CISCO-TCCiscoNetworkAddress
- Base type
OctetString
Values & Constraints
No enumerated values or constraints recorded.
Conformance
Member of