Fore-Switch-MIB :: snmpReadCommunity

MIB Reference — IPNetwork Monitor

All MIBsFore-Switch-MIBsnmpReadCommunity

snmpReadCommunity

Module: Fore-Switch-MIB

OID (symbolic): Fore-Switch-MIB::snmpReadCommunity

OID (numeric): 1.3.6.1.4.1.326.2.2.2.2.2.2

Node type: OBJECT-TYPE

Type: OCTET STRING

Access: read-write

Description:

The community string used for SNMP (v1) read operations, i.e. get and getnext requests. This has been deprecated, since it's now possible to have more than one read community string. Setting this variable will result in all current read community strings being deleted, and this one added.

Note this object is write-only and reading it will result in implementation-specific results.

What is snmpReadCommunity?

This object specifies the community string used for SNMP v1 read operations (GET and GET-NEXT requests). This object is deprecated but when written, it replaces all existing read community strings with the new value. Operators configure this to control SNMP access security, though modern devices should use SNMP v3 authentication instead.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.326.2.2.2.2.2.2
snmpwalk -v2c -c public <target> Fore-Switch-MIB::snmpReadCommunity

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.326.2.2.2.2.2.2.1
snmpget -v2c -c public <target> Fore-Switch-MIB::snmpReadCommunity.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.326.2.2.2.2.2.2.1 s <value>

OID Breakdown

Numeric OIDNameModule
1isoLANART-AGENT
1.3orgBIANCA-BRICK-PPP-MIB
1.3.6dodBIANCA-BRICK-PPP-MIB
1.3.6.1internetBIANCA-BRICK-PPP-MIB
1.3.6.1.4privateBIANCA-BRICK-PPP-MIB
1.3.6.1.4.1enterprisesANIROOT-MIB
1.3.6.1.4.1.326foreFore-Common-MIB
1.3.6.1.4.1.326.2systemsFore-Common-MIB
1.3.6.1.4.1.326.2.2atmSwitchFore-Common-MIB
1.3.6.1.4.1.326.2.2.2softwareFore-Common-MIB
1.3.6.1.4.1.326.2.2.2.2snmpFore-Switch-MIB
1.3.6.1.4.1.326.2.2.2.2.2snmpConfGroupFore-Switch-MIB
1.3.6.1.4.1.326.2.2.2.2.2.2snmpReadCommunityFore-Switch-MIB