zxR10Ipv4SrPrefixLen
ZXR10-IP-STATIC-ROUTE-MIB ·
.1.3.6.1.4.1.3902.3.330.1.1.2
Object
column Integer32
IPv4 Static Route Mask length
Context
- MIB
- ZXR10-IP-STATIC-ROUTE-MIB
- OID
.1.3.6.1.4.1.3902.3.330.1.1.2- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zxR10Ipv4StaticRouteEntry
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 'ZXR10-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-IP-STATIC-ROUTE-MIB::zxR10Ipv4SrPrefixLen'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-IP-STATIC-ROUTE-MIB::zxR10Ipv4SrPrefixLen.<zxR10Ipv4SrDest>.<zxR10Ipv4SrPrefixLen>.<zxR10Ipv4SrVrfName>.<zxR10Ipv4SrNexthop>.<zxR10Ipv4SrIfName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-IP-STATIC-ROUTE-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-IP-STATIC-ROUTE-MIB::zxR10Ipv4SrPrefixLen'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-32