zxGponIpStaticRoutePfxLen
ZXGPON-ONTMGMT-MIB ·
.1.3.6.1.4.1.3902.1012.3.50.16.3.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 zxGponIpStaticRouteDest field. The values for the index objects zxGponIpStaticRouteDest and zxGponIpStaticRoutePfxLen must be consistent. When the value of zxGponIpStaticRouteDest (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 zxGponIpStaticRoutePfxLen 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
- ZXGPON-ONTMGMT-MIB
- OID
.1.3.6.1.4.1.3902.1012.3.50.16.3.1.3- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- zxGponIpStaticRouteEntry
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 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponIpStaticRoutePfxLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXGPON-ONTMGMT-MIB::zxGponIpStaticRoutePfxLen.<zxGponOltIndex>.<zxGponONTIndex>.<zxGponIpStaticRouteDestType>.<zxGponIpStaticRouteDest>.<zxGponIpStaticRoutePfxLen>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXGPON-ONTMGMT-MIB' -M '/opt/observium/mibs/zte:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXGPON-ONTMGMT-MIB::zxGponIpStaticRoutePfxLen'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressPrefixLength
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..2040