18-10
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-30644-01
Chapter18 Configuring SNMP
Configuring SNMP
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.
Setting the Agent Contact and Location Information
Beginning in privileged EXEC mode, follow these steps to set the system contact and location of the
SNMP agent so that these descriptions can be accessed through the configuration file:
Command Purpose
Step1 configure terminal Enter global configuration mode.
Step2 snmp-server host host-addr {traps | informs}
{version {1 | 2c | 3 {auth | noauth | priv}}}
community-string [udp-port port]
notification-type
Specify 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.
Version 3 has three security levels:
auth—Specifies authentication of packets
without encryption
noauth—Specifies no authentication and no
encryption for packets
priv—Specifies authentication and
encryption for packets
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
Table18-4 on page 18-9.
Step3 snmp-server enable traps notification-types Enable the access point to send specific traps. For a
list of traps, see Table18-4 on page 18-9.
To enable multiple types of traps, you must issue a
separate snmp-server enable traps command for
each trap type.
Step4 end Return to privileged EXEC mode.
Step5 show running-config Verify your entries.
Step6 copy running-config startup-config (Optional) Save your entries in the configuration file.