72
2. Set up a SNMP trap destination.
Trap-destination command
Parameter
Description
Switch(config)# snmp-server
trap-destination [1-10]
[1-10]
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 trap destination IP address for
this trap destination account.
No command
Switch(config)# no snmp-
server trap-dest [1-10]
[1-10]
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
Show SNMP trap destination account
information.
Switch(config)# show snmp-
server trap-destination [1-10]
[1-10]
Show the specified SNMP trap destination
account information.
Switch(config-trap-
ACCOUNT)# show
Show and verify the selected trap
destination account
‟s information.
Exit command
Switch(config-trap-ACCOUNT)# exit
Return to Global Configuration mode.
Trap-destination example
Switch(config)# snmp-server trap-
destination 1
Create a trap destination account.
Switch(config-trap-1)# active
Activate this trap destination account.
Switch(config-trap-1)# community mycomm
Refer this trap destination account to the
community
“mycomm”.
Switch(config-trap-1)# description
redepttrapdest
Add a description for this trap destination
account.
Switch(config-trap-1)# destination
192.168.1.254
Set trap destination IP address to
192.168.1.254.
Summary of Contents for FOS-3126-PLUS SERIES
Page 186: ...186 Restart DHCP service...