Cisco Catalyst 4500 Series Configuration Manual page 1377

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 60
Configuring SNMP
Table 60-3
Notification Type
Keyword
tty
vlan-membership
vlancreate
vlandelete
vtp
You can use the snmp-server host global configuration command to a specific host to receive the
notification types listed in
To configure the switch to send traps or informs to a host, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# snmp-server
engineID remote ip-address
engineid-string
Step 3
Switch(config)# snmp-server user
username groupname remote host
[udp-port port]
[
{
|
auth
md5
sha
[
[encrypted]
access access-list]
Step 4
Switch(config)# snmp-server host
[
host-addr
traps | informs
[
{
version
1 | 2c | 3
]}]
priv
community-string
] [
port
notification-type
OL-25340-01
Switch Notification Types (continued)
Description
Generates a trap for TCP connections. This trap is enabled by default.
Generates a trap for SNMP VLAN membership changes.
Generates SNMP VLAN created traps.
Generates SNMP VLAN deleted traps.
Generates a trap for VLAN Trunking Protocol (VTP) changes.
Table
Purpose
Enters global configuration mode.
Specifies the engine ID for the remote host.
Configures an SNMP user to be associated with the remote host created
in Step 2.
{
v1 | v2c | v3
}
Note
auth-password]}
Specifies the recipient of an SNMP trap operation.
]
[
|
|
auth
noauth
[
udp-port
]
Note
60-3.
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.
For host-addr, specify the name or Internet address of the host (the
targeted recipient).
(Optional) Enter traps (the default) to send SNMP traps to the host.
(Optional) Enter informs to send SNMP informs to the host.
(Optional) Specify the SNMP version (1, 2c, or 3). SNMPv1 does
not support informs.
(Optional) For Version 3, select authentication level auth, noauth, or
priv.
The priv keyword is available only when the crypto software
image is installed.
For community-string, enter the password-like community string sent
with the notification operation.
(Optional) For udp-port port, enter the remote device UDP port.
(Optional) For notification-type, use the keywords listed in
Table 60-3 on page
60-11. If no type is specified, all notifications are
sent.
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Configuring SNMP
60-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents