juniPolicyRuleType
Juniper-POLICY-MIB ·
.1.3.6.1.4.1.4874.2.2.27.1.3.3.1.4
Object
column deprecated
Enumeration
This field specifies the type of rule being defined. The remaining information which makes up this rule is found in the specific rule table defined by juniPolicyRuleType. The specific rule tables are indexed by juniPolicyRulePolicyId.juniPolicyRuleId. This object is deprecated due to new policy rule table key.
Context
- MIB
- Juniper-POLICY-MIB
- OID
.1.3.6.1.4.1.4874.2.2.27.1.3.3.1.4- Type
- column
- Access
- readonly
- Status
- deprecated
- Parent
- juniPolicyRuleEntry
- Groups
- 3
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 'Juniper-POLICY-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-POLICY-MIB::juniPolicyRuleType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-POLICY-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-POLICY-MIB::juniPolicyRuleType.<juniPolicyRulePolicyId>.<juniPolicyRulePrec>.<juniPolicyRuleId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-POLICY-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-POLICY-MIB::juniPolicyRuleType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | noRule |
1 | nextHopRule |
2 | filterRule |
3 | nextInterfaceRule |
4 | rateLimitRule |
5 | markingRule |
6 | trafficClassRule |
7 | forwardRule |
8 | logRule |
10 | colorRule |
11 | exceptionRule |