bgpRmAfiSafiDefaultMetric
DC-BGP-MIB ·
.1.2.826.42.1.1578918.5.65.1.2.2.1.30
Object
This field defines the default metric for routes
redistributed into BGP.
Any route redistributed into BGP without a MED value has
its MED value set to this value.
This field can be changed at any time and will be applied
to all routes redistributed into DC-BGP.
Context
- MIB
- DC-BGP-MIB
- OID
.1.2.826.42.1.1578918.5.65.1.2.2.1.30- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- bgpRmAfiSafiEntry
- 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-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpRmAfiSafiDefaultMetric'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-BGP-MIB::bgpRmAfiSafiDefaultMetric.<bgpRmEntIndex>.<bgpRmAfiSafiAfi>.<bgpRmAfiSafiSafi>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-BGP-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-BGP-MIB::bgpRmAfiSafiDefaultMetric'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647
Conformance
Member of