Cisco Systems SPS224G4 Switch User Manual


 
26
SPS208G/SPS224G4/SPS2024 Command Line Interface Reference Guide 334
SNMP Commands
snmp-server community
The snmp-server community Global Configuration mode command configures the
community access string to permit access to the SNMP protocol. Use the no form
of this command to remove the specified community string.
Syntax
snmp-server community
community
[ro | rw | su] [
ip-address
] [view
view-
name
][type router | oob]
snmp-server community-group
community
group-name
[
ip-address
] [type router |
oob]
no snmp-server community
community
[
ip-address
]
Parameters
community
— Community string that acts like a password and permits
access to the SNMP protocol. (Range: 1-20 characters)
ro — Indicates read-only access (default).
rw — Indicates read-write access.
su — Indicates SNMP administrator access.
ip-address
— Specifies the IP address of the management station. (Range:
Valid ip address)
group-name
— Specifies the name of a previously defined group. A group
defines the objects available to the community. (Range: 1-30 characters)
view-name
— Specifies the name of a previously defined view. The view
defines the objects available to the community. (Range: 1-30 characters).