hwOspfv2AreaDefCost

HUAWEI-OSPFV2-MIB · .1.3.6.1.4.1.2011.5.25.155.4.1.12

Object

column r/w Integer32
This node is used to specify the cost of the default routes that flush to stub area by the ABR. 
The value ranges from 0 to 16777214. The default value is -1.

Context

MIB
HUAWEI-OSPFV2-MIB
OID
.1.3.6.1.4.1.2011.5.25.155.4.1.12
Type
column
Access
readwrite
Status
current
Parent
hwOspfv2AreaEntry
Groups
1

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

Syntax

Integer32

Values & Constraints

Object Constraints
range: -1-16777214

Conformance