phivLevel1RouteHops
DECNET-PHIV-MIB ·
.1.3.6.1.2.1.18.5.22.1.4
Object
column mandatory
Integer32
This read-only parameter represents the number of hops over to a destination node. A hop is Routing value representing the logical distance between two nodes in a network. HOPS is kept on a remote node basis.
Context
- MIB
- DECNET-PHIV-MIB
- OID
.1.3.6.1.2.1.18.5.22.1.4- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- phivLevel1RouteEntry
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 'DECNET-PHIV-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DECNET-PHIV-MIB::phivLevel1RouteHops'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DECNET-PHIV-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DECNET-PHIV-MIB::phivLevel1RouteHops.<phivLevel1RouteNodeAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DECNET-PHIV-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DECNET-PHIV-MIB::phivLevel1RouteHops'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-127