ospfPmShamLinkMetric
DC-OSPF-MIB ·
.1.2.826.0.1.1578918.5.62.1.1.25.1.7
Object
column r/w
Integer32
The configured metric for this sham link.
If this metric is zero then the sham link uses the default
metric specified by ospfPmEntVpnDfltShamLinkMetric.
Context
- MIB
- DC-OSPF-MIB
- OID
.1.2.826.0.1.1578918.5.62.1.1.25.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- ospfPmShamLinkEntry
- 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 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-OSPF-MIB::ospfPmShamLinkMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-OSPF-MIB::ospfPmShamLinkMetric.<ospfPmShamLinkApplIndex>.<ospfPmShamLinkAreaId>.<ospfPmShamLinkLocalIpAddr>.<ospfPmShamLinkRemoteIpAddr>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-OSPF-MIB::ospfPmShamLinkMetric'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-65535
Conformance
Member of