Initial Configuration
471553-KDU 137 365 Uen D 2006-06-16
5.3.5.1 Community Strings (for SNMP Version 1 and 2c Clients)
Community strings are used to control management access to SNMP version 1
and 2c stations, as well as to authorize SNMP stations to receive trap messages
from the ECN330-switch. Therefore, community strings need to be assigned to
specified users and their access level set.
The default strings are:
• public - Specifies read/write access. Authorized management stations
are able to both retrieve and modify MIB objects.
• private - Specifies read/write access. Authorized management stations
are able to both retrieve and modify MIB objects.
Note: If access from SNMP version 1 and 2c clients is not intended to be
utilized, it is recommended that both of the default community strings be deleted.
If there are no community strings, then SNMP management access from version
1 and 2c clients is disabled.
To prevent unauthorized access to the ECN330-switch from SNMP version 1 or
2c clients, it is recommended to change the default community strings.
To configure a community string, complete the following steps:
1. At the Privileged Exec level global configuration mode prompt, type snmp-
server community <string> <mode>, where string is the
community access string and mode is either rw (read/write) or ro (read
only). Press <Enter>.
2. To remove an existing string, type no snmp-server community
<string>, where string is the community access string to remove. Press
<Enter>.
Console(config)#no snmp-server community private
Console(config)#snmp-server community abc rw
Console(config)#