juniPolicyIfAttachStatsEnable

Juniper-POLICY-MIB · .1.3.6.1.4.1.4874.2.2.27.1.4.2.1.6

Object

column r/w SNMPv2-TCTruthValue
This object is used to control the enabling and disabling of statistics
for a policy attachment.
              
Set this object to true to enable statistics.  Set this object to false
to disable statistics.
              
This object may be modified while the row is active.  The desired value
must be set before the policy is attached or in a multiple object
varbind.  Failure to do so will result in the policy being attached with
the previous value of juniPolicyIfAttachStatsEnable.

Context

MIB
Juniper-POLICY-MIB
OID
.1.3.6.1.4.1.4874.2.2.27.1.4.2.1.6
Type
column
Access
readwrite
Status
current
Parent
juniPolicyIfAttachEntry
Groups
2

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::juniPolicyIfAttachStatsEnable'
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::juniPolicyIfAttachStatsEnable.<juniPolicyIfAttachInterfaceId>.<juniPolicyIfAttachForwardingType>.<juniPolicyIfAttachPolicyType>'
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::juniPolicyIfAttachStatsEnable'

Syntax

Source
SNMPv2-TCTruthValue
Base type
Enumeration
Type Description
Represents a boolean value.

Values & Constraints

Type Values
1true
2false