snmpSetCommunity
VES1724-58V-MIB ·
.1.3.6.1.4.1.890.1.5.12.49.15.3
Object
scalar r/w
OctetString
Sets the set community. Only for SNMPv2c or lower. Can input with plain text or ciphertext. Show ciphertext. plain text: 1 ~ 31 printable characters. ciphertext: 95 characters with special format and generated by device from plain text.
Context
- MIB
- VES1724-58V-MIB
- OID
.1.3.6.1.4.1.890.1.5.12.49.15.3- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- snmp
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'VES1724-58V-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'VES1724-58V-MIB::snmpSetCommunity.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'VES1724-58V-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'VES1724-58V-MIB::snmpSetCommunity'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 1-95