zxAnOpticalOfflineTrapEnable
ZTE-AN-OPTICAL-MODULE-MIB ·
.1.3.6.1.4.1.3902.1082.30.40.2.2.1.12
Object
column r/w
Enumeration
Indicates whether optical module is online/offline traps should
be generated for this interface.
By default, this object should have the value enabled(1) for
interfaces which do not operate on 'top' of any other
interface (as defined in the ifStackTable), and disabled(2)
otherwise.
Context
- MIB
- ZTE-AN-OPTICAL-MODULE-MIB
- OID
.1.3.6.1.4.1.3902.1082.30.40.2.2.1.12- Type
- column
- Access
- readwrite
- Status
- current
- Default
enabled- Parent
- zxAnOpticalModuleAlmPrfEntry
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 'ZTE-AN-OPTICAL-MODULE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-OPTICAL-MODULE-MIB::zxAnOpticalOfflineTrapEnable'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-OPTICAL-MODULE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-OPTICAL-MODULE-MIB::zxAnOpticalOfflineTrapEnable.<zxAnOpticalModuleAlmPrfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-OPTICAL-MODULE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-OPTICAL-MODULE-MIB::zxAnOpticalOfflineTrapEnable'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | enabled |
2 | disabled |