setCommunityName
JETDIRECT3-MIB ·
.1.3.6.1.4.1.11.2.15.1.1
Object
scalar r/w
OctetString
This object controls access of snmp read-write requests. Factory default configuration provides authentication of incoming packets with community names: internal and public. This object overrides the factory default settings so that the factory default setttings no longer work. This object returns SET or NOT_SET.
Context
- MIB
- JETDIRECT3-MIB
- OID
.1.3.6.1.4.1.11.2.15.1.1- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- community
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 'JETDIRECT3-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JETDIRECT3-MIB::setCommunityName.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'JETDIRECT3-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'JETDIRECT3-MIB::setCommunityName'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-255