zxr10rtmLabelDestMask

ZXR10-ROUTE-LABEL-MIB · .1.3.6.1.4.1.3902.3.109.1.1.2

Object

Indicate the mask to be logical-ANDed with the
destination address before being compared to the
value in the ipRouteDest field.  For those systems
that do not support arbitrary subnet masks, an
agent constructs the value of the ipRouteMask by
determining whether the value of the correspondent
ipRouteDest field belong to a class-A, B, or C
network, and then using one of:
              
              mask           network
              8              class-A
              16             class-B
              24             class-C
              
If the value of the ipRouteDest is 0 (a
default route), then the mask value is also
0.  It should be noted that all IP routing
subsystems implicitly use this mechanism.

Context

MIB
ZXR10-ROUTE-LABEL-MIB
OID
.1.3.6.1.4.1.3902.3.109.1.1.2
Type
column
Access
readonly
Status
current
Parent
zxr10rtmLabelEntry

Walk 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 'ZXR10-ROUTE-LABEL-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-ROUTE-LABEL-MIB::zxr10rtmLabelDestMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-ROUTE-LABEL-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-ROUTE-LABEL-MIB::zxr10rtmLabelDestMask.<zxr10rtmLabelDestAddr>.<zxr10rtmLabelDestMask>.<zxr10rtmLabelReTag>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-ROUTE-LABEL-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-ROUTE-LABEL-MIB::zxr10rtmLabelDestMask'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647