zxr10prIPv4VrfRouteIfIndex
ZXR10-PROTOCOL-ROUTERS-MIB ·
.1.3.6.1.4.1.3902.3.6000.160.2.1.2.1.3
Object
column Integer32
The IfIndex which uniquely identifies the local interface through which the next hop of this route should be reached.If there is no inteface, this value will be set 0
Context
- MIB
- ZXR10-PROTOCOL-ROUTERS-MIB
- OID
.1.3.6.1.4.1.3902.3.6000.160.2.1.2.1.3- Type
- column
- Access
- readonly
- Status
- current
- Parent
- zxr10prIPv4VrfRouteEntry
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-PROTOCOL-ROUTERS-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-PROTOCOL-ROUTERS-MIB::zxr10prIPv4VrfRouteIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'ZXR10-PROTOCOL-ROUTERS-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZXR10-PROTOCOL-ROUTERS-MIB::zxr10prIPv4VrfRouteIfIndex.<zxr10prIPv4VrfRouteVrfName>.<zxr10prIPv4VrfRouteDest>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZXR10-PROTOCOL-ROUTERS-MIB' -M '/opt/observium/mibs/zte-ng:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZXR10-PROTOCOL-ROUTERS-MIB::zxr10prIPv4VrfRouteIfIndex'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-2147483647