rcL3IpSubnetMask
SWITCH-L3-MIB ·
.1.3.6.1.4.1.8886.6.1.16.1.3.1.3
Object
DURABLE: The subnet mask for this subnet. It contains 1's in the bit positions for the net and subnet IDs and 0's in the bit positions for host ID. The 1's must be contiguous, starting with the left most bit.
Context
- MIB
- SWITCH-L3-MIB
- OID
.1.3.6.1.4.1.8886.6.1.16.1.3.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcL3IpSubnetEntry
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 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-L3-MIB::rcL3IpSubnetMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-L3-MIB::rcL3IpSubnetMask.<rcL3IpSubnetIfIndex>.<rcL3IpSubnetIpAddress>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-L3-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-L3-MIB::rcL3IpSubnetMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4