crepSegmentInterface2
CISCO-RESILIENT-ETHERNET-PROTOCOL-MIB ·
.1.3.6.1.4.1.9.9.601.1.3.1.1.3
Object
column IF-MIBInterfaceIndexOrZero
This object indicates the ifIndex-value assigned to
the second interface that is part of the segment.
The value of zero means that the InterfaceIndex is not
known. The reasons for value being zero might include
the second interface might not yet been configured for
this segment and the device may be the edge of the
segment.
Context
- MIB
- CISCO-RESILIENT-ETHERNET-PROTOCOL-MIB
- OID
.1.3.6.1.4.1.9.9.601.1.3.1.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- crepSegmentEntry
- 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-RESILIENT-ETHERNET-PROTOCOL-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-RESILIENT-ETHERNET-PROTOCOL-MIB::crepSegmentInterface2'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-RESILIENT-ETHERNET-PROTOCOL-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-RESILIENT-ETHERNET-PROTOCOL-MIB::crepSegmentInterface2.<crepSegmentId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-RESILIENT-ETHERNET-PROTOCOL-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-RESILIENT-ETHERNET-PROTOCOL-MIB::crepSegmentInterface2'
Syntax
- Source
- IF-MIBInterfaceIndexOrZero
- Base type
Integer32- Display format
d
Type Description
This textual convention is an extension of the InterfaceIndex convention. The latter defines a greater than zero value used to identify an interface or interface sub-layer in the managed system. This extension permits the additional value of zero. the value zero is object-specific and must therefore be defined as part of the description of any object which uses this syntax. Examples of the usage of zero might include situations where interface was unknown, or when none or all interfaces need to be referenced.
Values & Constraints
Type Constraints
range: 0..2147483647
Conformance
Member of