32
Exit command
Switch(config-community-NAME)# exit
Return to Global Configuration mode.
Snmp-server example
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.
2. Set up a SNMP trap destination.
Trap-dest command
Parameter
Description
Switch(config)# snmp-
server trap-destination [1-
3]
[1-3]
Create a trap destination account.
Switch(config-trap-
ACCOUNT)# active
Enable this SNMP trap destination account.
Switch(config-trap-
ACCOUNT)# community
[community]
[community]
Enter the community name of network
management system.
Switch(config-trap-
ACCOUNT)# destination
[A.B.C.D]
[A.B.C.D]
Enter the SNMP server IP address.
No command
Switch(config)# no snmp-
server trap-destination [1-
3]
[1-3]
Delete the specified trap destination
account.
Switch(config-trap-ACCOUNT)# no active
Disable this SNMP trap destination account.
Switch(config-trap-ACCOUNT)# no
community
Delete the configured community name.
Switch(config-trap-ACCOUNT)# no
description
Delete the configured trap destination
description.
Show command
Switch(config)# show
snmp-server trap-
destination [1-3]
[1-3]
Show the specified trap destination
information.
Switch(config)# show snmp-server trap-
destination
Show SNMP trap destination information in
Global Configuration mode.
Switch(config-trap-ACCOUNT)# show
View this trap destination account’s
information.
Содержание HES-3109 Series
Страница 47: ...47 Restart DHCP service...