ieee8021CnCpIfIndex

IEEE8021-CN-MIB · .1.3.111.2.802.1.1.18.1.5.1.2

Object

This object represents the port or aggregated port
to which the entry applies.
              
Upon a restart of the system, the system SHALL, if necessary,
change the value of this object, and rearrange the order of the
ieee8021CnCpTable, so that the value in ieee8021CnCpIfIndex
references the row in the ifXTable with the same value for
ifAlias that it referenced before the system restart.  If no
such entry exists in the ifXTable, then the system SHALL delete
the row in the ieee8021CnCpTable.

Context

MIB
IEEE8021-CN-MIB
OID
.1.3.111.2.802.1.1.18.1.5.1.2
Type
column
Access
noaccess
Status
current
Parent
ieee8021CnCpEntry

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 'IEEE8021-CN-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-CN-MIB::ieee8021CnCpIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IEEE8021-CN-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IEEE8021-CN-MIB::ieee8021CnCpIfIndex.<ieee8021CnCpComponentId>.<ieee8021CnCpIfIndex>.<ieee8021CnCpIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IEEE8021-CN-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IEEE8021-CN-MIB::ieee8021CnCpIfIndex'

Syntax

Source
IF-MIBInterfaceIndex
Base type
Integer32
Display format
d
Type Description
A unique value, greater than zero, for each interface or
interface sub-layer in the managed system.  It is
recommended that values are assigned contiguously starting
from 1.  The value for each interface sub-layer must remain
constant at least from one re-initialization of the entity's
network management system to the next re-initialization.

Values & Constraints

Type Constraints
range: 1..2147483647