rcL3IpStaticMask
SWITCH-L3-MIB ·
.1.3.6.1.4.1.8886.6.1.16.2.7.1.2
Object
DURABLE:
The mask for this IP destination. 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.
Note that a host route uses a 255.255.255.255 mask.
Context
- MIB
- SWITCH-L3-MIB
- OID
.1.3.6.1.4.1.8886.6.1.16.2.7.1.2- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcL3IpStaticRouteEntry
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::rcL3IpStaticMask'
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::rcL3IpStaticMask.<rcL3IpStaticDestIpAddress>'
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::rcL3IpStaticMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4