hwRouteStatProtocolId

HUAWEI-RM-EXT-MIB · .1.3.6.1.4.1.2011.5.25.145.1.2.1.2

Object

column Enumeration
Specifies the protocol ID of the route.
Options:
1. direct(1)        -indicates the direct route
2. static(2)        -indicates the static route
3. ospf(3)          -indicates the OSPF route
4. isis(6)          -indicates the IS-IS route
5. rip(7)           -indicates the RIP route
6. bgp(8)           -indicates the BGP route

Context

MIB
HUAWEI-RM-EXT-MIB
OID
.1.3.6.1.4.1.2011.5.25.145.1.2.1.2
Type
column
Access
noaccess
Status
current
Parent
hwRouteStatEntry

Walk 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 'HUAWEI-RM-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RM-EXT-MIB::hwRouteStatProtocolId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HUAWEI-RM-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HUAWEI-RM-EXT-MIB::hwRouteStatProtocolId.<hwRouteStatVpnName>.<hwRouteStatProtocolId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HUAWEI-RM-EXT-MIB' -M '/opt/observium/mibs/huawei:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HUAWEI-RM-EXT-MIB::hwRouteStatProtocolId'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1direct
2static
3ospf
6isis
7rip
8bgp