raisecomRip2RouteMask
RAISECOM-RIP2-MIB ·
.1.3.6.1.4.1.8886.1.32.2.5.1.1.2
Object
column SNMPv2-SMIIpAddress
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
255.0.0.0 class-A
255.255.0.0 class-B
255.255.255.0 class-C
If the value of the ipRouteDest is 0.0.0.0 (a default route), then the
mask value is also 0.0.0.0.
Context
- MIB
- RAISECOM-RIP2-MIB
- OID
.1.3.6.1.4.1.8886.1.32.2.5.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- raisecomRip2RouteEntry
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 'RAISECOM-RIP2-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAISECOM-RIP2-MIB::raisecomRip2RouteMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RAISECOM-RIP2-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RAISECOM-RIP2-MIB::raisecomRip2RouteMask.<raisecomRip2RouteDest>.<raisecomRip2RouteMask>.<raisecomRip2RouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RAISECOM-RIP2-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RAISECOM-RIP2-MIB::raisecomRip2RouteMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4