cdpCacheSysName
CISCO-CDP-MIB ·
ciscosb variant
·
.1.3.6.1.4.1.9.9.23.1.2.1.1.17
Object
column OctetString
Indicates the value of the remote device's sysName MIB object. By convention, it is the device's fully qualified domain name. This object is not instantiated if no sysName field (TLV) was reported in the most recently received CDP message.
Context
- MIB
- CISCO-CDP-MIB
- OID
.1.3.6.1.4.1.9.9.23.1.2.1.1.17- 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::cdpCacheSysName'
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::cdpCacheSysName.<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::cdpCacheSysName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255
Conformance
Member of