h3cEponAuthMode
H3C-EPON-MIB ·
.1.3.6.1.4.1.2011.10.2.42.1.1.21
Object
scalar r/w
Bits
Set global auth mode, which can be combined(loid and loid-password cannot be configured at the same time). If no auth mode was set, 0 is returned.
Context
- MIB
- H3C-EPON-MIB
- OID
.1.3.6.1.4.1.2011.10.2.42.1.1.21- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- h3cEponSysMan
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'H3C-EPON-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'H3C-EPON-MIB::h3cEponAuthMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'H3C-EPON-MIB' -M '/opt/observium/mibs/h3c:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'H3C-EPON-MIB::h3cEponAuthMode'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | mac |
1 | loid |
2 | loidPassword |