Cisco 2950G 24 - Catalyst Switch Software Configuration Manual page 487

Desktop switch
Hide thumbs Also See for 2950G 24 - Catalyst Switch:
Table of Contents

Advertisement

Chapter 24
Configuring SNMP
Table 24-4 Switch Notification Types (continued)
Notification Type
Keyword
hsrp
mac-notification
rtr
snmp
syslog
tty
udp-port
vlan-membership
vtp
Some notification types cannot be controlled with the snmp-server enable global configuration
command, for example, tty and udp-port. These notification types are always enabled. 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 | v2c | v3 [auth {md5 | sha}
auth-password]} [encrypted] [access
access-list]
Step 4
snmp-server group [groupname {v1 |
v2c | v3 [auth | noauth | priv]}] [read
readview] [write writeview] [notify
notifyview] [access access-list]
78-14982-01
Description
Generates a trap for Hot Standby Router Protocol (HSRP) changes.
Generates a trap for MAC address notifications.
Generates a trap for the SNMP Response Time Reporter (RTR).
Generates a trap for SNMP-type notifications.
Generates a trap for SNMP syslog notifications.
Sends Cisco enterprise-specific notifications when a Transmission Control
Protocol (TCP) connection closes.
Sends notification of the User Datagram Protocol (UDP) port number of the
host.
Generates a trap for SNMP VLAN membership changes.
Generates a trap for VLAN Trunking Protocol (VTP) changes.
Table
24-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
Configure an SNMP group.
You cannot configure a remote user for an address without first
configuring the engine ID for the remote host. If you try to
configure the user before configuring the remote engine ID, you
receive an error message, and the command is not executed.
Catalyst 2950 Desktop Switch Software Configuration Guide
Configuring SNMP
24-11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 2950

Table of Contents