Administrator Guide

Switch Management Commands 2134
Default Configuration
No community is defined. Defaults to read–only access if not specified.
Command Mode
Global Configuration mode
User Guidelines
The @ character is reserved for future use. It is not accepted in a community
string. The question mark is the CLI help trigger. It may not be used in a
community name. The backslash is a programatic escape character. It may
not be used in a community name.
You cannot specify a view-name for su, which has access to the whole MIB.
You can use the view name to restrict the access rights of a community string.
When it is specified:
An internal security name is generated.
The internal security name for SNMPv1 and SNMPv2 security models is
mapped to an internal group name.
The internal group name for SNMPv1 and SNMPv2 security models is
mapped to a view name. If ro is specified, then read-view and notify-
view are mapped. If rw is specified, then read-view, notify-view, and
write-view are mapped.
The community name may include any printable characters except a question
mark, an at sign, or a backslash. Enclose the string in double quotes to include
spaces within the name. The surrounding quotes are not used as part of the
name. The CLI does not filter illegal characters and may accept entries up to
the first illegal character or reject the entry entirely.
Command History
Modified in version 6.5 firmware.
Example
The following example configures community access string public to permit
administrative access to SNMP at an administrative station with IP address
192.168.1.20.
console(config)# snmp-server community public su ipaddress 192.168.1.20