EasyManua.ls Logo

Cisco Sx350

Cisco Sx350
1323 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
43
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide 856
Network Management Protocol (SNMP)
Commands
43.0
43.1 snmp-server community
To set the community access string (password) that permits access to SNMP
commands (v1 and v2), use the snmp-server community Global Configuration
mode command. This is used for SNMP commands, such as GETs and SETs.
This command configures both SNMP v1 and v2.
To remove the specified community string, use the no form of this command.
Syntax
snmp-server community
community
-
string [ro | rw | su]
[
ip-address | ipv6-address
]
[
mask
mask
| prefix
prefix-length] [
view
view-name]
no snmp-server community
community-string [ip-address]
Parameters
community-string—Define the password that permits access to the SNMP
protocol. (Range: 1–20 characters).
ro—(Optional) Specifies read-only access (default)
rw—(Optional) Specifies read-write access
su—(Optional) Specifies SNMP administrator access
ip-address—(Optional) Management station IP address. The default is all IP
addresses. This can be an IPv4 address, IPv6 or IPv6z address. See IPv6z
Address Conventions.
mask—(Optional) Specifies the mask of the IPv4 address. This is not a
network mask, but rather a mask that defines which bits of the packet’s
source address are compared to the configured IP address. If unspecified,
it defaults to 255.255.255.255. The command returns an error if the mask is
specified without an IPv4 address.

Table of Contents

Related product manuals