hit counter script

Cisco Catalyst 2950 Software Configuration Manual page 438

Hide thumbs Also See for Catalyst 2950:
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 {informs | traps } {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 2950 Desktop Switch Software Configuration Guide
22-8
Chapter 22
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 22-3 on page
22-7.
Enable the switch to send specific traps. For a list of
traps, see
Table 22-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
22-7.
78-11380-04

Advertisement

Table of Contents
loading

Table of Contents