All MIBs › FOUNDRY-SN-AGENT-MIB › snAgGblReadOnlyCommunity
snAgGblReadOnlyCommunity
Module: FOUNDRY-SN-AGENT-MIB
OID (symbolic): FOUNDRY-SN-AGENT-MIB::snAgGblReadOnlyCommunity
OID (numeric): 1.3.6.1.4.1.1991.1.1.2.1.25
Node type: OBJECT-TYPE
Type: DisplayString
Access: read-write
Description:
SNMP read 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 snAgGblReadOnlyCommunity?
This is the write-only SNMP read community string; read attempts return empty for security. It controls which remote managers can fetch device metrics. An operator sets this during initial device provisioning or password rotation procedures.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.2.1.25 snmpwalk -v2c -c public <target> FOUNDRY-SN-AGENT-MIB::snAgGblReadOnlyCommunity
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.1991.1.1.2.1.25.1 snmpget -v2c -c public <target> FOUNDRY-SN-AGENT-MIB::snAgGblReadOnlyCommunity.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.1991.1.1.2.1.25.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.25 | snAgGblReadOnlyCommunity | FOUNDRY-SN-AGENT-MIB |