xgs360026fSetCommunityMode
ZYXEL-XGS360026F-FUNCTION-MIB ·
.1.3.6.1.4.1.890.1.5.8.77.1.6.1.2
Object
scalar r/w
Integer32
Get/Set the set-community mode of the SNMP. default : 1, 0: disable, 1: enable.
Context
- MIB
- ZYXEL-XGS360026F-FUNCTION-MIB
- OID
.1.3.6.1.4.1.890.1.5.8.77.1.6.1.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- xgs360026fSnmpConf
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 'ZYXEL-XGS360026F-FUNCTION-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'ZYXEL-XGS360026F-FUNCTION-MIB::xgs360026fSetCommunityMode.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'ZYXEL-XGS360026F-FUNCTION-MIB' -M '/opt/observium/mibs/zyxel:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'ZYXEL-XGS360026F-FUNCTION-MIB::xgs360026fSetCommunityMode'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-1