agentOspfRouteRedistMetricType
LANCOM-ROUTING-MIB ·
.1.3.6.1.4.1.2356.16.1.2.4.8.1.5
Object
column r/w
Enumeration
Metric Type of routes,which OSPF redistributes from other source protocols. It can be 1(external type 1) or 2(external type 2).
Context
- MIB
- LANCOM-ROUTING-MIB
- OID
.1.3.6.1.4.1.2356.16.1.2.4.8.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- agentOspfRouteRedistEntry
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 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ROUTING-MIB::agentOspfRouteRedistMetricType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'LANCOM-ROUTING-MIB::agentOspfRouteRedistMetricType.<agentOspfRouteRedistSource>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'LANCOM-ROUTING-MIB' -M '/opt/observium/mibs/lancom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'LANCOM-ROUTING-MIB::agentOspfRouteRedistMetricType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | externalType1 |
2 | externalType2 |