Snmp-server community, Snmp-server community, snm – Brocade Network OS Command Reference v4.1.0 User Manual
Page 1261

Network OS Command Reference
1223
53-1003115-01
snmp-server community
2
snmp-server community
Sets or removes the community string and read-write or read-only access for each community.
Synopsis
snmp-server community string [ro | rw]
no snmp-server community string [ro | rw]
Operands
string
Specifies the community string.
ro | rw
Sets the read-only or read-write access for each community.
Defaults
If no access is specified, read-only (ro) is the default.
Command Modes
Global configuration mode
Description
Use this command to manage the configuration of the SNMP agent in the switch.
The configuration includes SNMPv1 and SNMPv2c configuration settings.
Usage Guidelines
You can specify one of the six default community strings when the system first comes up. The
maximum number of SNMP communities supported is 256, which includes the following six
default communities.
The following community strings are read-write:
•
Secret C0de
•
OrigEquipMfr
•
private
The following community strings are read-only:
•
public
•
common
•
ConvergedNetwork
Examples
To remove the community string “public”:
switch(config)# no snmp-server community public
To add user123 with read-only access to the user’s list for v1 and v2c:
switch(config)# snmp-server community user123 ro
To change the access of a read-only community string (user123) to read-write:
switch(config)# snmp-server community user123 rw
See Also
show running-config snmp-server, snmp-server contact, host, snmp-server location,
snmp-server user, snmp-server v3host