hmAgentSnmpCommunityAccessMode
HMPRIV-MGMT-SNMP-MIB ·
.1.3.6.1.4.1.248.14.2.13.2.1.5
Object
column r/w
Enumeration
The switch's Snmp Community Access Mode Access Mode - This value can be read-only or read/write. A community with a read-only access allows for switch information to be displayed. A community with a read/write access allows for configuration changes to be made and for information to be displayed.
Context
- MIB
- HMPRIV-MGMT-SNMP-MIB
- OID
.1.3.6.1.4.1.248.14.2.13.2.1.5- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- hmAgentSnmpCommunityConfigEntry
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 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MGMT-SNMP-MIB::hmAgentSnmpCommunityAccessMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HMPRIV-MGMT-SNMP-MIB::hmAgentSnmpCommunityAccessMode.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HMPRIV-MGMT-SNMP-MIB' -M '/opt/observium/mibs/hirschmann:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HMPRIV-MGMT-SNMP-MIB::hmAgentSnmpCommunityAccessMode'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.