cmStaticRouteMask
CM-IP-MIB ·
.1.3.6.1.4.1.2544.1.12.11.1.2.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 cmStaticRouteDest field. For those systems that do not support arbitrary subnet masks, an agent constructs the value of the cmStaticRouteMask by reference to the IP Ad- dress Class. Any assignment (implicit or otherwise) of an instance of this object to a value x must be rejected if the bitwise logical-AND of x with the value of the corresponding instance of the cmStaticRouteDest object is not equal to cmStaticRouteDest.
Context
- MIB
- CM-IP-MIB
- OID
.1.3.6.1.4.1.2544.1.12.11.1.2.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- cmStaticRouteEntry
- 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 'CM-IP-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-IP-MIB::cmStaticRouteMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CM-IP-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CM-IP-MIB::cmStaticRouteMask.<cmStaticRouteDest>.<cmStaticRouteMask>.<cmStaticRouteNextHop>.<cmStaticRouteInterface>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CM-IP-MIB' -M '/opt/observium/mibs/adva:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CM-IP-MIB::cmStaticRouteMask'
Syntax
- Source
- SNMPv2-SMIIpAddress
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4
Conformance
Member of