Simple Network Management Protocol
Configuring SNMP
8
Cisco 3200 Series Wireless MIC Software Configuration Guide
To configure the WMIC to send traps to a host
, follow these steps, beginning in privileged EXEC mode:
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.
Command
Purpose
Step 1
configure terminal
Enters global configuration mode.
Step 2
snmp-server host
host-addr
{
traps
|
informs
} {
version
{
1
|
2c
}}
community-string notification-type
Specifies 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 3 on page 7
.
Step 3
snmp-server enable traps
notification-types
Enables the WMIC to send specific traps. For a list
of traps, see
Table 3 on page 7
.
To enable multiple types of traps, you must issue a
separate
snmp-server enable traps
command for
each trap type.
Step 4
end
Returns to privileged EXEC mode.
Step 5
show running-config
Verifies your entries.
Step 6
copy running-config startup-config
(Optional) Saves your entries in the configuration
file.