lan2NetMask
MOXA-CN2600-MIB ·
.1.3.6.1.4.1.8691.2.11.1.3.10
Object
A subnet mask 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 Terminal Server CN2600 series device server will use the subnet mask 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 Terminal Server CN2600 series device server, a connection is established directly from the Terminal Server CN2600 series device server. Otherwise, the connection is established through the given default gateway.
Context
- MIB
- MOXA-CN2600-MIB
- OID
.1.3.6.1.4.1.8691.2.11.1.3.10- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- networkSetting
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 'MOXA-CN2600-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MOXA-CN2600-MIB::lan2NetMask.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MOXA-CN2600-MIB' -M '/opt/observium/mibs/moxa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MOXA-CN2600-MIB::lan2NetMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4