Cisco WS-C3550-12G Software Configuration Manual page 408

Multilayer switch
Hide thumbs Also See for WS-C3550-12G:
Table of Contents

Advertisement

Configuring SNMP
Beginning in privileged EXEC mode, follow these steps to configure the switch to send traps to a host:
Command
Step 1
configure terminal
Step 2
snmp-server host host-addr {traps | informs} {version {1
| 2c}} community-string notification-type
Step 3
snmp-server enable traps notification-types
Step 4
end
Step 5
show running-config
Step 6
copy running-config startup-config
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.
Catalyst 3550 Multilayer Switch Software Configuration Guide
18-8
Chapter 18
Purpose
Enter global configuration mode.
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
Table 18-3 on page
18-7.
Enable the switch to send specific traps. For a list of
traps, see
Table 18-3 on page
To enable multiple types of traps, you must issue a
separate snmp-server enable traps command for
each trap type.
Return to privileged EXEC mode.
Verify your entries.
(Optional) Save your entries in the configuration
file.
Configuring SNMP
18-7.
78-11194-03

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3550

Table of Contents