ipv6Prefix

MOXA-NP6000-MIB · .1.3.6.1.4.1.8691.2.8.1.3.18

Object

scalar r/w Integer32
A prefix represents all of the network hosts
at one geographic location, in one building, or on
the same local area network. When a packet is sent
out over the network, the NPort will use the prefix 
to check whether the TCP/IP host specified in the 
packet is on the local network segment. If the address 
is on the same network segment as the NPort, a connection 
is established directly from the NPort. Otherwise, the
connection is established through the given default
gateway. Range is 1~128

Context

MIB
MOXA-NP6000-MIB
OID
.1.3.6.1.4.1.8691.2.8.1.3.18
Type
scalar
Access
readwrite
Status
current
Parent
networkSetting

Scalars have one instance, identified by the .0 suffix.

Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MOXA-NP6000-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-NP6000-MIB::ipv6Prefix.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOXA-NP6000-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOXA-NP6000-MIB::ipv6Prefix'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647