gbnL3IpStaticMask
QTECH-GBNL3-MIB ·
.1.3.6.1.4.1.27514.1.2.5.1.1.3.7.1.2
Object
column SNMPv2-SMIIpAddress
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
- QTECH-GBNL3-MIB
- OID
.1.3.6.1.4.1.27514.1.2.5.1.1.3.7.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- gbnL3IpStaticRouteEntry
- Groups
- 1
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 'QTECH-GBNL3-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-GBNL3-MIB::gbnL3IpStaticMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'QTECH-GBNL3-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'QTECH-GBNL3-MIB::gbnL3IpStaticMask.<gbnL3IpStaticDestIpAddr>.<gbnL3IpStaticMask>.<gbnL3IpStaticNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'QTECH-GBNL3-MIB' -M '/opt/observium/mibs/qtech:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'QTECH-GBNL3-MIB::gbnL3IpStaticMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of