Configuring SNMP
Table 27-4
Notification Type
Keyword
cluster
config
copy-config
entity
envmon
flash
hsrp
mac-notification
port-security
rtr
snmp
stpx
syslog
tty
vlancreate
vlandelete
vlan-membership
vtp
You can use the snmp-server host global configuration command to a specific host to receive the
notification types listed in
Beginning in privileged EXEC mode, follow these steps to configure the switch to send traps or informs
to a host:
Command
Step 1
configure terminal
Step 2
snmp-server engineID remote
ip-address engineid-string
Step 3
snmp-server user username
groupname {remote host [udp-port
port]} {v1 [access access-list] | v2c
[access access-list] | v3 [encrypted]
[access access-list] [auth {md5 | sha}
auth-password]}
Catalyst 2950 and Catalyst 2955 Switch Software Configuration Guide
27-12
Switch Notification Types (continued)
Description
Generates a trap when the cluster configuration changes.
Generates a trap for SNMP configuration changes.
Generates a trap for SNMP copy configuration changes.
Generates a trap for SNMP entity changes.
Generates environmental monitor traps. You can enable any or all of these
environmental traps: fan, shutdown, status, supply, temperature.
Generates SNMP FLASH notifications.
Generates a trap for Hot Standby Router Protocol (HSRP) changes.
Generates a trap for MAC address notifications.
Generates SNMP port security traps. You can also set a maximum trap rate
per second. The range is from 0 to 1000; the default is 0, which means that
there is no rate limit.
Generates a trap for the SNMP Response Time Reporter (RTR).
Generates a trap for SNMP-type notifications.
Generates SNMP STP Extended MIB traps.
Generates SNMP syslog traps.
Generates a trap for TCP connections. This trap is enabled by default.
Generates SNMP VLAN-created traps.
Generates SNMP VLAN-deleted traps.
Generates a trap for SNMP VLAN membership changes.
Generates a trap for VLAN Trunking Protocol (VTP) changes.
Table
27-4.
Purpose
Enter global configuration mode.
Specify the engine ID for the remote host.
Configure an SNMP user to be associated with the remote host created in
Step 2.
Note
You cannot configure a remote user for an address without first
configuring the engine ID for the remote host. Otherwise, you
receive an error message, and the command is not executed.
Chapter 27
Configuring SNMP
78-11380-12