Switch(config-community-
NAME)# description
[Description]
Enter the description for this SNMP
community of up to 35 alphanumerical
characters.
Switch(config-community-
NAME)# level [admin | rw |
ro]
Specify the access privilege for this SNMP
account.
admin: Full access right, including
maintaining user account, system
information, loading factory settings, etc..
rw: Read & Write access privilege. Partial
access right, unable to modify user
account, system information and load
factory settings.
ro: Read Only access privilege.
Switch(config)# no snmp-
server
Switch(config)# no snmp-
server community
[community]
Delete the specified community.
Switch(config-community-
NAME)# no active
Disable this SNMP community account. In
this example “mycomm” community is
disabled.
Switch(config-community-
NAME)# no description
Remove the SNMP community
descriptions for “mycomm”.
Switch(config-community-
NAME)# no level
Remove the configured access privilege.
This will set this community‟s level to
“access denied”.
Switch(config)# show snmp-server
Show or verify whether SNMP is enabled
or disabled.
Switch(config)# show snmp-server
community
Show or verify each SNMP server
account‟s information.
Switch(config)# show snmp-server
community [community]
Show the specified SNMP server account‟s
settings.
Switch(config-community-NAME)# show
Show the selected community‟s settings.
Switch(config-community-NAME)# exit
Return to Global Configuration mode.
Switch(config)# snmp-server community
mycomm
Create a new community “mycomm” and
edit the details of this community account.
Switch(config-community-mycomm)# active
Activate the SNMP community “mycomm”.
Switch(config-community-mycomm)#
description rddeptcomm
Add a description for “mycomm”
community.
Switch(config-community-mycomm)# level
admin
Set “mycomm” community level to admin
(full access privilege).