All MIBs › FOUNDRY-SN-AGENT-MIB › snAgGblReadWriteCommunity
snAgGblReadWriteCommunity
Module: FOUNDRY-SN-AGENT-MIB
OID (symbolic): FOUNDRY-SN-AGENT-MIB::snAgGblReadWriteCommunity
OID (numeric): 1.3.6.1.4.1.1991.1.1.2.1.26
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description:
SNMP read-write community string and this is only allowed to use for setting but not for reading. An SNMP-Get will get an zero length string. Set operation on this object is allowed only if command 'password-change any' is configured on the target device.
What is snAgGblReadWriteCommunity?
This object sets the SNMP read-write community string for the device, which is write-only for security reasons. Operators configure this to control which SNMP managers can make configuration changes to the device. The system restricts this setting to cases where the 'password-change any' command is enabled.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.2.1.26 snmpwalk -v2c -c public <target> FOUNDRY-SN-AGENT-MIB::snAgGblReadWriteCommunity
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.2.1.26.1 snmpget -v2c -c public <target> FOUNDRY-SN-AGENT-MIB::snAgGblReadWriteCommunity.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.1991.1.1.2.1.26.1 s <value>
OID Breakdown
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | BIANCA-BRICK-PPP-MIB |
| 1.3.6 | dod | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1 | internet | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4 | private | BIANCA-BRICK-PPP-MIB |
| 1.3.6.1.4.1 | enterprises | ANIROOT-MIB |
| 1.3.6.1.4.1.1991 | foundry | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1 | products | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1 | switch | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.2 | snAgentSys | FOUNDRY-SN-ROOT-MIB |
| 1.3.6.1.4.1.1991.1.1.2.1 | snAgentGbl | FOUNDRY-SN-AGENT-MIB |
| 1.3.6.1.4.1.1991.1.1.2.1.26 | snAgGblReadWriteCommunity | FOUNDRY-SN-AGENT-MIB |