optIfGCC0Directionality

OPT-IF-MIB · .1.3.6.1.2.1.10.133.1.7.2.1.1

Object

Indicates the directionality of the entity.
The values source(2) and bidirectional(3) are
not allowed if the corresponding instance of
optIfOTUkDirectionality has the value sink(1).
The values sink(1) and bidirectional(3) are
not allowed if the corresponding instance of
optIfOTUkDirectionality has the value source(2).

Context

MIB
OPT-IF-MIB
OID
.1.3.6.1.2.1.10.133.1.7.2.1.1
Type
column
Access
noaccess
Status
current
Parent
optIfGCC0ConfigEntry

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

Syntax

Source
OptIfDirectionality
Base type
Enumeration

Values & Constraints

Type Values
1sink
2source
3bidirectional