Configuring Snmp Notifications - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 72
Configuring SNMP
Command
Step 4
Switch(config)# snmp-server user
username groupname [remote host
[udp-port port]]
{
|
}
md5
sha
auth-password]} [encrypted]
[
access access-list]
Step 5
Switch(config)# end
Step 6
Switch# show running-config
Step 7
Switch# copy running-config
startup-config

Configuring SNMP Notifications

A trap manager is a management station that receives and processes traps. Traps are system alerts that
the switch generates when certain events occur. By default, no trap manager is defined, and no traps are
sent. Switches running Cisco IOS Release 12.2(31)SG and later releases can have an unlimited number
of trap managers.
Many commands use the word traps in the command syntax. Unless there is an option in the command
Note
to select either traps or informs, the keyword traps refers to either traps, informs, or both. Use the
snmp-server host command to specify whether to send SNMP notifications as traps or informs.
Table 72-3
traps and configure a trap manager to receive them.
Table 72-3
Notification Type
Keyword
bgp
bridge
{
[
v1 | v2c | v3
auth
describes the supported switch traps (notification types). You can enable any or all of these
Switch Notification Types
Description
Generates BGP state change traps.
Note
Generates STP bridge MIB traps.
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
Configures a new user to an SNMP group.
The username is your name on the host that connects to the agent.
The groupname is the name of the group to which you are
associated.
(Optional) Enter remote to specify a remote SNMP entity to
which you belong and the hostname or IP address of that entity
with the optional UDP port number. The default is 162.
Enter the SNMP version number (v1,or v2c, or v3). If you enter
v3, you have these additional options:
auth is an authentication level setting session, which can be
either the HMAC-MD5-96 or the HMAC-SHA-96
authentication level, and requires a password string (not to
exceed 64 characters).
encrypted specifies that the password appears in encrypted
format.
(Optional) Enter access access-list with a string (not to exceed 64
characters) that is the name of the access list.
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
This option is only available when the enhanced multilayer image is
installed.
Configuring SNMP
72-11

Advertisement

Table of Contents
loading

Table of Contents