58
rw:
Read & Write access privilege. Partial
access right, unable to modify user
account, system information and load
factory settings.
ro:
Read Only access privilege.
No command
Gateway(config)# no snmp-
server community
[community]
[community]
Delete the specified community.
Gateway(config-community-
NAME)# no active
Disable this SNMP community account. In
this example “mycomm” community is
disabled.
Gateway(config-community-
NAME)# no description
Remove the SNMP community
descriptions for “mycomm”.
Gateway(config-community-
NAME)# no level
Remove the configured access privilege.
This will set this community’s level to
“access denied”.
Show command
Gateway(config)# show snmp-server
Show or verify whether SNMP is enabled
or disabled.
Gateway(config)# show snmp-server
community
Show or verify each SNMP server
account’s information.
Gateway(config)# show snmp-server
community [community]
Show the specified SNMP server account’s
settings.
Gateway(config-community-NAME)# show
Show the selected community’s settings.
Exit command
Gateway(config-community-NAME)# exit
Return to Global Configuration mode.
Snmp-server example
Gateway(config)# snmp-server community
mycomm
Create a new community “mycomm” and
edit the details of this community account.
Gateway(config-community-mycomm)#
active
Activate the SNMP community “mycomm”.
Gateway(config-community-mycomm)#
description rddeptcomm
Add a description for “mycomm”
community.
Gateway(config-community-mycomm)#
level admin
Set “mycomm” community level to admin
(full access privilege).
2. Set up a SNMP trap destination.
Command
Parameter
Description
Gateway(config)# snmp-
server trap-destination [1-2]
[1-2]
Create a trap destination account.
Gateway(config-trap-
ACCOUNT)# active
Enable this SNMP trap destination
account.
Gateway(config-trap-
ACCOUNT)# community
[community]
[community]
Enter the community name of network
management system.