snMspsInetStaticRoutePfxLen
SN-MSPS-SCX-MIB ·
.1.3.6.1.4.1.4329.20.1.1.1.1.13.1.32.1.3
Object
Indicates the number of leading one bits that form the
mask to be logical-ANDed with the destination address
before being compared to the value in the
snMspsInetStaticRouteDest field.
The values for the index objects snMspsInetStaticRouteDest and
snMspsInetStaticRoutePfxLen must be consistent. When the value
of snMspsInetStaticRouteDest (excluding the zone index, if one
is present) is x, then the bitwise logical-AND
of x with the value of the mask formed from the
corresponding index object snMspsInetStaticRoutePfxLen MUST be
equal to x. If not, then the index pair is not
consistent and an inconsistentName error must be
returned on SET or CREATE requests.
Context
- MIB
- SN-MSPS-SCX-MIB
- OID
.1.3.6.1.4.1.4329.20.1.1.1.1.13.1.32.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- snMspsInetStaticRouteEntry
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 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsInetStaticRoutePfxLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsInetStaticRoutePfxLen.<snMspsInetStaticRouteDestType>.<snMspsInetStaticRouteDest>.<snMspsInetStaticRoutePfxLen>.<snMspsInetStaticRoutePolicy>.<snMspsInetStaticRouteNextHopType>.<snMspsInetStaticRouteNextHop>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsInetStaticRoutePfxLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040