Previous page Next page

Creating or Modifying a Community String for the Switch

To create or modify a community string to access the switch, use the following CLI command:

(configure)# snmp-server community <community-string> group <groupname> [<ip-addr> [notify]]

Table�28 defines the command keywords and variables.

Table�28:�snmp-server community Command Parameters �
Parameter
Description
<community-string>
The name of the community string. The community string can range from 1 to 26 characters.

Important: Do not assign a community string and SNMPv3 user the same name.

<groupname>
Name of the group to which you are assigning the community string.

Important: Do not assign the community string to a group that requires authentication or encryption. Community strings do not support authentication or encryption.

<ip-addr>
The IP address from which the community string is valid. Trap messages are sent to this IP address if you enter the notify option.
[notify]
Sends trap messages to the IP address that you specify.


Previous page Next page