tRPOperPSAcptActBgpMedExpr

TIMETRA-ROUTE-POLICY-MIB · .1.3.6.1.4.1.6527.3.1.2.17.1.1.36.1.34

Object

The value of tRPOperPSAcptActBgpMedExpr indicates the expression that
is used to calculate the BGP MED value.
              
The value of this object is ignored when the object
tRPOperPSAcptActBgpMedSource has a value different from 'expression'.

Context

MIB
TIMETRA-ROUTE-POLICY-MIB
OID
.1.3.6.1.4.1.6527.3.1.2.17.1.1.36.1.34
Type
column
Access
readonly
Status
current
Parent
tRPOperPSAcptActParamsExtEntry
Groups
1

Walk 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 'TIMETRA-ROUTE-POLICY-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-ROUTE-POLICY-MIB::tRPOperPSAcptActBgpMedExpr'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'TIMETRA-ROUTE-POLICY-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'TIMETRA-ROUTE-POLICY-MIB::tRPOperPSAcptActBgpMedExpr.<index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'TIMETRA-ROUTE-POLICY-MIB' -M '/opt/observium/mibs/nokia:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'TIMETRA-ROUTE-POLICY-MIB::tRPOperPSAcptActBgpMedExpr'

Syntax

Source
TPolicyBgpMedExpression
Base type
OctetString
Based on
SNMPv2-TCDisplayString
Type Description
TPolicyBgpMedExpression specifies an expression containing terms and
operators.
          
A term is either: 1) _igp_ (predefined variable holding the IGP cost)
2) _med_ (predefined variable holding the received MED value) 3) a
floating point value 4) a policy variable 5) another expression
surrounded by parentheses()
          
A BGP MED expression must contain at least one occurrence of either
'_igp_' or '_med'.
          
The list of supported operators are:
1)  '*' - multiply
2)  '+' - add
3)  '-' - subtract
          
BGP MED expression examples:
- '_med_ * 0.125'
- '(_igp + 100) * @med-multiplier@'
- '_med_ + _igp_ + 50'

Values & Constraints

Type Constraints
range: 0..64

Conformance