All MIBs › COMMUNITY-MIB › communityName
communityName
Module: COMMUNITY-MIB
OID (symbolic): COMMUNITY-MIB::communityName
OID (numeric): 1.3.6.1.4.1.52.1.52.2.1.1
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: The community name that will be used for trivial authentication for SNMP get/set requests. This is also the community name used within an SNMP trap pdu. Each community name is associated with an access code of either NO_ACCESS, RO, RW, or SU.
What is communityName?
This read-write octet string of up to 32 bytes configures an SNMP community string used for trivial authentication of get/set requests and for authenticating outgoing trap PDUs, with each community tied to an access level of NO_ACCESS, RO, RW, or SU. An administrator manages these entries to control who can query or modify the device via SNMP and at what privilege level. For example, an operator might configure one communityName as a read-only string for monitoring tools and a separate one with RW access reserved for the configuration management system.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.52.1.52.2.1.1 snmpwalk -v2c -c public <target> COMMUNITY-MIB::communityName
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.52.1.52.2.1.1.1 snmpget -v2c -c public <target> COMMUNITY-MIB::communityName.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.52.1.52.2.1.1.1 s <value>
Start monitoring SNMP-managed network devices with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the COMMUNITY-MIB::communityName OID value, configure state conditions and alerts, and monitor any SNMP-managed network devices from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.52 | cabletron | Cabletron-MIB |
| 1.3.6.1.4.1.52.1 | commsDevice | Cabletron-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.52.1.52 | community | COMMUNITY-MIB |
| 1.3.6.1.4.1.52.1.52.2 | communityTable | COMMUNITY-MIB |
| 1.3.6.1.4.1.52.1.52.2.1 | communityEntry | COMMUNITY-MIB |
| 1.3.6.1.4.1.52.1.52.2.1.1 | communityName | COMMUNITY-MIB |