sysCommunityRw
CISCO-STACK-MIB ·
.1.3.6.1.4.1.9.5.1.1.22
Object
scalar r/w
OctetString
When an SNMP message is received by this entity,
the community string in the message is compared
with this string second. If it matches, read-write
access is granted to all items in the MIB except
restricted items such as community strings.
(Restricted items appear empty when read and
return a no such name error when an attempt is
made to write them.) If it doesn't match, the
sysCommunityRo string is compared next.
Note that this item is only accessible when using
the community string defined in sysCommunityRwa.
Context
- MIB
- CISCO-STACK-MIB
- OID
.1.3.6.1.4.1.9.5.1.1.22- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- systemGrp
- Groups
- 2
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 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-STACK-MIB::sysCommunityRw.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-STACK-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-STACK-MIB::sysCommunityRw'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-20
Conformance
Member of