sleRouteDstMask
SLE-NETWORK-MIB ·
.1.3.6.1.4.1.6296.101.11.4.1.1.2
Object
column Integer32
Indicate the mask to be logical-ANDed with the destination address before being compared to the value in the sleRouteDstAddress field. For those systems that do not support arbitrary subnet masks, an agent constructs the value of the sleRouteDstMask by determining whether the value of the correspondent sleRouteDstAddress field belong to a class-A, B, or C network. If the value of the sleRouteDstAddress is 0.0.0.0 (a default route), then the mask value is also 0.0.0.0. It should be noted that all IP routing subsystems implicitly use this mechanism.
Context
- MIB
- SLE-NETWORK-MIB
- OID
.1.3.6.1.4.1.6296.101.11.4.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- sleRouteEntry
- 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 'SLE-NETWORK-MIB' -M '/opt/observium/mibs/dasan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SLE-NETWORK-MIB::sleRouteDstMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SLE-NETWORK-MIB' -M '/opt/observium/mibs/dasan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SLE-NETWORK-MIB::sleRouteDstMask.<sleRouteDstAddress>.<sleRouteDstMask>.<sleRouteGateway>.<sleRouteInterface>.<sleRouteVRFIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SLE-NETWORK-MIB' -M '/opt/observium/mibs/dasan:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SLE-NETWORK-MIB::sleRouteDstMask'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-32
Conformance
Member of