snOspfIf2AreaIdFormat
HP-SN-OSPF-GROUP-MIB ·
.1.3.6.1.4.1.11.2.3.7.11.12.2.4.4.2.1.16
Object
column mandatory
Enumeration
This object is used to specify whether AreaId is represented as IP Address or an Integer. The values that can be written are: integer(0).....as an integer. ipAddress(1)...as IP Address.
Context
- MIB
- HP-SN-OSPF-GROUP-MIB
- OID
.1.3.6.1.4.1.11.2.3.7.11.12.2.4.4.2.1.16- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- snOspfIf2Entry
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 'HP-SN-OSPF-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-OSPF-GROUP-MIB::snOspfIf2AreaIdFormat'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HP-SN-OSPF-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HP-SN-OSPF-GROUP-MIB::snOspfIf2AreaIdFormat.<snOspfIf2Port>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HP-SN-OSPF-GROUP-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HP-SN-OSPF-GROUP-MIB::snOspfIf2AreaIdFormat'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | integer |
1 | ipAddress |