snMspsRip6RoutePreference
SN-MSPS-SCX-MIB ·
.1.3.6.1.4.1.4329.20.1.1.1.1.67.1.1
Object
scalar r/w
Enumeration
The route prefered for forwarding a packet to a destination when a statically configured route, as well as a dynamically learnt route exists for a particular destination. If the value is set to bestmetric(3), the route with the best metric is the one to be used. Note that, this object would be referred only if both a static route and a dynamic route exists to the same destination.
Context
- MIB
- SN-MSPS-SCX-MIB
- OID
.1.3.6.1.4.1.4329.20.1.1.1.1.67.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Default
bestmetric- Parent
- snMspsRip6Scalars
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SN-MSPS-SCX-MIB::snMspsRip6RoutePreference.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SN-MSPS-SCX-MIB' -M '/opt/observium/mibs/siemens:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SN-MSPS-SCX-MIB::snMspsRip6RoutePreference'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | static |
2 | dynamic |
3 | bestmetric |