snmp-server host
This example shows how to enable the switch to send all traps to the host myhost.cisco.com by using the
community string public:
Switch(config)# snmp-server enable traps
Switch(config)# snmp-server host myhost.cisco.com public
You can verify your settings by entering the show running-config privileged EXEC command.
Related Commands
Command
show running-config
snmp-server enable traps
Catalyst 3550 Multilayer Switch Command Reference
2-400
Description
Displays the running configuration on the switch. For syntax information,
select Cisco IOS Configuration Fundamentals Command Reference for
Release 12.1 > Cisco IOS File Management Commands > Configuration
File Commands.
Enables SNMP notification for various trap types or inform requests.
Chapter 2 Cisco IOS Commands
78-11195-09