Users Guide

Table Of Contents
Switch Management Commands 2260
community-string—The SNMP community identifier. See SNMP-
COMMUNITY-MIB for further information. (Range: 1-20 printable
characters other than an at sign, a backslash, or a question mark.)
ro—Indicates read-only access.
rw—Indicates read-write access.
su—Indicates SNMP administrator access.
ip-address
—Specifies the IP address or subnet of the management
station(s). If no IP address is specified, all management stations are
permitted. Both IPv4 and IPv6 addresses are accepted. If a subnet is
specified, it may be entered in the form of an IPv4 address and a space,
followed by a forward slash, followed by the decimal number of
significant bits with intervening space, or the IP address may be followed
by an IPv4 mask in dotted quad notation. The range of IPv4 significant
bits is 1 to 31 bits.
view-name
—Specifies the name of a previously defined view. For
information on views, see the User Guidelines below. (Range: 1-30
characters)
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 programmatic 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.