juniPolicyOperStatus
Juniper-POLICY-MIB ·
.1.3.6.1.4.1.4874.2.2.27.1.3.2.1.4
Object
column obsolete
Enumeration
This obsolete object was used to retrieve the operational state of a
policy.
If a policy is disabled, it is not applied to any interfaces within the
system.
If a policy is invalid, there is a problem with the policy preventing it
from being applied to an interface. An error code providing diagnostic
information about the problem is found in juniPolicyErrorValue.
If a policy is enabled, it has been applied to one or more interfaces
within the system.
This object was made obsolete due to some changes in E-Series which
eliminated the possibility of a policy being operationaly disabled.
Context
- MIB
- Juniper-POLICY-MIB
- OID
.1.3.6.1.4.1.4874.2.2.27.1.3.2.1.4- Type
- column
- Access
- readonly
- Status
- obsolete
- Parent
- juniPolicyEntry
- 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::juniPolicyOperStatus'
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::juniPolicyOperStatus.<juniPolicyId>'
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::juniPolicyOperStatus'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | disabled |
1 | invalid |
2 | enabled |