cdpInterfaceIfIndex
CISCO-CDP-MIB ·
ciscosb variant
·
.1.3.6.1.4.1.9.9.23.1.1.1.1.1
Object
column Integer32
The ifIndex value of the local interface.
For 802.3 Repeaters on which the repeater ports do not
have ifIndex values assigned, this value is a unique
value for the port, and greater than any ifIndex value
supported by the repeater; in this case, the specific
port is indicated by corresponding values of
cdpInterfaceGroup and cdpInterfacePort, where these
values correspond to the group number and port number
values of RFC 1516.
Context
- MIB
- CISCO-CDP-MIB
- OID
.1.3.6.1.4.1.9.9.23.1.1.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- cdpInterfaceEntry
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::cdpInterfaceIfIndex'
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::cdpInterfaceIfIndex.<cdpInterfaceIfIndex>'
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::cdpInterfaceIfIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647
range: 500-50000