18-8
Catalyst 3550 Multilayer Switch Software Configuration Guide
78-11194-03
Chapter18 Configuring SNMP
Configuring SNMP
Beginning in privileged EXEC mode, follow these steps to configure the switch to send traps to a host:
To remove the specified host from receiving traps, use the no snmp-server host host global
configuration command. To disable a specific trap type, use the no snmp-server enable traps
notification-types global configuration command.
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 snmp-server host host-addr {traps | informs} {version {1
| 2c}} community-string notification-type Specify the recipient of the trap message.
For host-addr, specify the name or address of the
host (the targeted recipient).
Specify traps (the default) to send SNMP traps
to the host. Specify informs to send SNMP
informs to the host.
Specify the SNMP version to support. Version 1,
the default, is not available with informs.
Note Though visible in the command-line help
string, the version 3 keyword (SNMPv3) is
not supported.
For community-string, specify the string to send
with the notification operation. Though you can
set this string using the snmp-server host
command, we recommend that you define this
string by using the snmp-server community
command before using the snmp-server host
command.
For notification-type, use the keywords listed in
Table18-3 on p age 18-7.
Step3 snmp-server enable traps notification-types Enable the switch t o send sp ec ific tr ap s. For a l i st of
traps, see Table18-3 on p age 18-7.
To enable multiple types of traps, you must issue a
separate snmp-server enable traps command for
each trap type.
Step4 end Return to privileged EXEC mode.
Step5 show running-config Verify your entries.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration
file.