myRouteMapSetMetricType
MY-ROUTE-MIB ·
.1.3.6.1.4.1.4881.1.1.10.2.20.2.1.1.9
Object
column r/w
Enumeration
set metric type, 'external' means IS-IS external metric; 'internal' means Use IGP metric as the MED for BGP; 'type-1 ' means OSPF external type 1 metric; 'type-2 ' means OSPF external type 2 metric. 'noOper'indicate that no any opertion will be done for this item.
Context
- MIB
- MY-ROUTE-MIB
- OID
.1.3.6.1.4.1.4881.1.1.10.2.20.2.1.1.9- Type
- column
- Access
- readwrite
- Status
- current
- Default
noOper- Parent
- myRouteMapEntry
- Groups
- 1
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 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-ROUTE-MIB::myRouteMapSetMetricType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MY-ROUTE-MIB::myRouteMapSetMetricType.<myRouteMapName>.<myRouteMapSequenceNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MY-ROUTE-MIB' -M '/opt/observium/mibs/ruijie:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MY-ROUTE-MIB::myRouteMapSetMetricType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | noOper |
1 | internal |
2 | external |
3 | type1 |
4 | type2 |
Conformance
Member of