Users Guide

514 SNMP
snmp-server community
string [ro | rw | su]
[view view-name |
ipaddress ip_address
ipmask]
Configure the community string and specify access criteria
for the community.
community-string — Acts as a password and is used to
authenticate the SNMP management station to the
switch. The string must also be defined on the NMS in
order for the NMS to access the SNMP agent on the
switch (Range: 1-20 characters). Any printable character
is allowed other than the @ \ ? characters.
ro — Indicates read-only access
rw — Indicates read-write access.
view-name — Specifies the name of a previously defined
MIB view.
ip_address — Specifies the IPv4/IPv6 address or subnet of
the allowed management stations. If no IP address or an
all-zeros IP address is specified, all management stations
are permitted. The IP address may be an IPv4 or IPv6
address or an address and subnet mask in /length or
dotted quad notation.
snmp-server community-
group community-string
group-name [ipaddress
ip-address ipmask]
Map the internal security name for SNMP v1 and SNMP
v2 security models to the group name.
community-string — Community string that acts like a
password and permits access to the SNMP protocol.
(Range: 1-20 characters)
group-name — Name of a previously defined group. The
group defines the objects available to the community.
(Range: 1-30 characters)
ip-address — Management station IPv4/IPv6 address and
optional netmask. Default is all IP addresses are allowed
access.
exit Exit to Privileged Exec mode.
show snmp View SNMP settings and verify the configuration
Command Purpose