hm2AgentOspfRouteMask
HM2-PLATFORM-ROUTING-MIB ·
.1.3.6.1.4.1.248.12.2.250.1.2
Object
The Subnet Mask that pertains to the Net or Subnet.
Context
- MIB
- HM2-PLATFORM-ROUTING-MIB
- OID
.1.3.6.1.4.1.248.12.2.250.1.2- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- hm2AgentOspfRouteEntry
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 'HM2-PLATFORM-ROUTING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfRouteMask'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HM2-PLATFORM-ROUTING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfRouteMask.<hm2AgentOspfRouteNet>.<hm2AgentOspfRouteMask>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HM2-PLATFORM-ROUTING-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HM2-PLATFORM-ROUTING-MIB::hm2AgentOspfRouteMask'
Syntax
- Source
- INET-ADDRESS-MIBInetAddressIPv4
- Base type
OctetString
Values & Constraints
Type Constraints
range: 4