juniPolicyAdminState

Juniper-POLICY-MIB · .1.3.6.1.4.1.4874.2.2.27.1.3.2.1.3

Object

column r/w Enumeration
This object is used to control the administrative state of a policy.
Enabling a policy will result in the rules which make up a policy being
applied to interfaces to which the policy is assigned.
              
You should disable the admin state before adding/modifying any rules or 
classifier groups in this policy and then re-enable to apply the
changes.
              
This object may be modified while the row is active.

Context

MIB
Juniper-POLICY-MIB
OID
.1.3.6.1.4.1.4874.2.2.27.1.3.2.1.3
Type
column
Access
readwrite
Status
current
Parent
juniPolicyEntry
Groups
5

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 'Juniper-POLICY-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-POLICY-MIB::juniPolicyAdminState'
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::juniPolicyAdminState.<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::juniPolicyAdminState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
0disable
1enable