juniSnmpCommunityPrivilege
Juniper-SNMP-MIB ·
.1.3.6.1.4.1.4874.2.2.16.1.2.1.1.3
Object
column r/w
Enumeration
The access privilege for an SNMP Community authenticated by this entry
(used in conjunction with MIB view as specified via
juniSnmpCommunityView).
readOnly Read-only access to MIB with associated view.
readWrite Read-write access to MIB with associated view.
admin Read-write access to entire MIB (for backward
compatibility, automatically defaults to 'everything'
view and 'readWrite' privilege).
Context
- MIB
- Juniper-SNMP-MIB
- OID
.1.3.6.1.4.1.4874.2.2.16.1.2.1.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Default
readOnly- Parent
- juniSnmpCommunityEntry
- Groups
- 4
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-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-SNMP-MIB::juniSnmpCommunityPrivilege'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-SNMP-MIB::juniSnmpCommunityPrivilege.<juniSnmpCommunityName>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-SNMP-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-SNMP-MIB::juniSnmpCommunityPrivilege'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | readOnly |
2 | readWrite |
3 | admin |