zxAnGponRmIphostIpOptions
ZTE-AN-GPON-REMOTE-ONU-MIB ·
.1.3.6.1.4.1.3902.1082.500.20.2.9.2.1.2
Object
column r/w
Bits
This attribute is a bitfield that is used to enable or disable IP related options.A bit value of 1 enables the option and a bit value of 0 disables the option. The IPv4 options are assigned as follows: 0x1 = Enable DHCP 0x2 = Respond to pings 0x4 = Respond to traceRoute messages 0x8 = Enable IP stack 0x10 = reserved1 0x20 = reserved2 0x40 = reserved3 0x80 = reserved4 The IPv6 options are assigned as follows: 0x100 = Unlock IPv6 stack 0x200 = Enable RS 0x400 = Enable DHCPv6 0x800 = Respond to pings(IPv6)
Context
- MIB
- ZTE-AN-GPON-REMOTE-ONU-MIB
- OID
.1.3.6.1.4.1.3902.1082.500.20.2.9.2.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- zxAnGponRmIphostConfEntry
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-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIphostIpOptions'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIphostIpOptions.<ifIndex>.<zxAnPonOnuIndex>.<zxAnGponRmIphostId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZTE-AN-GPON-REMOTE-ONU-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZTE-AN-GPON-REMOTE-ONU-MIB::zxAnGponRmIphostIpOptions'
Syntax
Bits
Values & Constraints
Enumerated Values
0 | enableDhcp |
1 | respToPing |
2 | respToTraceRoute |
3 | enableIpStack |
4 | reserved1 |
5 | reserved2 |
6 | reserved3 |
7 | reserved4 |
8 | unlockIpv6Stack |
9 | enableRs |
10 | enableDhcpv6 |
11 | respToPingForIpv6 |