rcIpRoutePolicySetWeight
RC-IP-POLICY-MIB ·
.1.3.6.1.4.1.2272.1.8.100.13.1.31
Object
Should be using with match as-path condition. Weight value for the routing table. For BGP this value will override the weight configured through NetworkTableEntry or FilterListWeight or NeighborWeight. Used for BGP only.Value 0 indicates not set
Context
- MIB
- RC-IP-POLICY-MIB
- OID
.1.3.6.1.4.1.2272.1.8.100.13.1.31- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcIpRoutePolicyEntry
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 'RC-IP-POLICY-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RC-IP-POLICY-MIB::rcIpRoutePolicySetWeight'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'RC-IP-POLICY-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'RC-IP-POLICY-MIB::rcIpRoutePolicySetWeight.<rcIpRoutePolicyId>.<rcIpRoutePolicySequenceNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'RC-IP-POLICY-MIB' -M '/opt/observium/mibs/nortel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'RC-IP-POLICY-MIB::rcIpRoutePolicySetWeight'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647