Net-SNMP examples using the oneaccess MIB directory Show commands

These commands use the standard Observium installation path and load the selected MIB variant before the RFC and Net-SNMP directories.

Translate the module identity
/usr/bin/snmptranslate -Pud -Ir -On -m 'ONEACCESS-ETHOAM-EXT-MIB' -M '/opt/observium/mibs/oneaccess:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ONEACCESS-ETHOAM-EXT-MIB::oacEthOamExtMib'
Walk the MIB subtree
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'ONEACCESS-ETHOAM-EXT-MIB' -M '/opt/observium/mibs/oneaccess:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ONEACCESS-ETHOAM-EXT-MIB::oacEthOamExtMib'
How SNMP, Net-SNMP, MIB paths, and variants work
Objects (66)
.1.3.6.1.4.1.13191.1.100.689
.1.3.6.1.4.1.13191.10.3.10.2
.1.3.6.1.4.1.13191.10.3.10.2.1
.1.3.6.1.4.1.13191.10.3.10.2.1.1
.1.3.6.1.4.1.13191.10.3.10.2.1.1.1
.1.3.6.1.4.1.13191.10.3.10.2.1.1.1.1
.1.3.6.1.4.1.13191.10.3.10.2.1.1.1.2
.1.3.6.1.4.1.13191.10.3.10.2.1.1.1.3
.1.3.6.1.4.1.13191.10.3.10.2.1.1.1.4
.1.3.6.1.4.1.13191.10.3.10.2.1.1.1.5
.1.3.6.1.4.1.13191.10.3.10.2.1.2
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.1
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.10
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.11
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.12
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.13
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.14
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.15
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.16
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.17
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.18
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.19
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.20
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.21
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.22
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.30
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.31
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.32
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.33
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.34
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.35
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.36
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.37
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.38
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.39
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.40
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.41
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.42
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.43
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.44
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.45
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.46
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.47
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.60
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.70
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.71
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.72
OctetString
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.73
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.80
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.81
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.82
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.83
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.90
.1.3.6.1.4.1.13191.10.3.10.2.1.2.1.91
.1.3.6.1.4.1.13191.10.3.10.2.1.3
.1.3.6.1.4.1.13191.10.3.10.2.1.3.1
.1.3.6.1.4.1.13191.10.3.10.2.1.4
.1.3.6.1.4.1.13191.10.3.10.2.1.4.1
Unsigned32
.1.3.6.1.4.1.13191.10.3.10.2.1.4.1.1
.1.3.6.1.4.1.13191.10.3.10.2.1.4.1.2
.1.3.6.1.4.1.13191.10.3.10.2.1.4.1.3
.1.3.6.1.4.1.13191.10.3.10.2.1.5
.1.3.6.1.4.1.13191.10.3.10.2.1.5.1
.1.3.6.1.4.1.13191.10.3.10.2.1.5.1.1
.1.3.6.1.4.1.13191.10.3.10.2.1.5.1.2
Dependencies (22) 7 direct · 15 transitive Show tree and compile order Hide dependency details

Each imported module is resolved in the importing module's source directory first, then through the normal default-variant rules.

Dependency tree
Type Definitions (3)
Enumeration
efdDisabled(1)
efdIdle(2)
efdTriggered(3)
Possible EFD states that an interface can reside in. The value can be
one of the following:

efdDisabled (1) The EFD feature is disabled;
efdIdle (2) The EFD feature is enabled, and there is no
error condition on the interface;
efdTriggered (3) The EFD feature is enabled, and there is an
error condition on the interface;
Enumeration
modey1731(1)
mode8021ag(2)
modehybrid(3)
The CFM standard to which the MEP adheres.
Enumeration
modey1731(1)
mode8021ag(2)
The CFM standard to which the MIP adheres.