ipVersion
NMS-EPON-ONU ·
.1.3.6.1.4.1.3320.101.10.7.1.2
Object
column mandatory
Enumeration
Onu management ip version. 1 means ipv4, 2 means ipv6.
Context
- MIB
- NMS-EPON-ONU
- OID
.1.3.6.1.4.1.3320.101.10.7.1.2- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- onuIPParamGetEntry
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 'NMS-EPON-ONU' -M '/opt/observium/mibs/bdcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NMS-EPON-ONU::ipVersion'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'NMS-EPON-ONU' -M '/opt/observium/mibs/bdcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'NMS-EPON-ONU::ipVersion.<onuIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'NMS-EPON-ONU' -M '/opt/observium/mibs/bdcom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'NMS-EPON-ONU::ipVersion'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ipv4 |
2 | ipv6 |