Snmp-Server Community-Group - Cisco 300 Series Cli Manual

Small business 300 series managed switches command line interface guide release 1.3
Hide thumbs Also See for 300 Series:
Table of Contents
Network Management Protocol (SNMP) Commands
78-21075-01 Command Line Interface Reference Guide
User Guidelines
The logical key of the command is the pair (community, ip-address). If ip-address
is omitted then the key is (community, All-IPs). This means that there cannot be two
commands with the same community, ip address pair.
view-name
The
is used to restrict the access rights of a community string. When a
view-name is specified, the software:
Generates an internal security-name.
Maps the internal security-name for SNMPv1 and SNMPv2 security models
to an internal group-name.
Maps the internal group-name for SNMPv1 and SNMPv2 security models to
view-name (read-view and notify-view always, and for rw for write-view
also),
Example
Defines a password for administrator access to the management station at IP
address 1.1.1.121 and mask 255.0.0.0.
switchxxxxxx(config)# snmp-server community abcd su 1.1.1.121 mask 255.0.0.0
12.3

snmp-server community-group

Use snmp-server community-group to configure access rights to a user group.
The group must exist in order to be able to specify the access rights. This
command configures both SNMP v1 and v2.
Syntax
snmp-server community-group
ipv6-address] [
mask
Parameters
community-string—Define the password that permits access to the SNMP
protocol. (Range: 1–20 characters). This string is used as an input parameter
to
snmp-server user
ip-address—Management station IP address. The default is all IP
addresses. This can be an IPv4 address, IPv6 or IPv6z address. See
Address
Conventions.
community
mask |
prefix-length]
prefix
for SNMP v3.
string group-name [ip-address |
-
12
IPv6z
199
Table of Contents
loading

Table of Contents