Administrator Guide

460 SNMP
snmp-server community
string
[ro | rw | su]
[view
view-name
]
[ipaddress
ip_address
]
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)
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 address mask of the
allowed management stations. If no IP address or an all-
zeros IP address is specified, all management stations are
permitted. The IPv4 address is a mask where '1' bits are
AND’d with the connecting station address and the result
is compared with the IPv4 address mask. If not equal,
access is not allowed.
snmp-server community-
group
community
-
string
group-name
[ipaddress
ip-address
]
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 address mask.
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