18-10
Cisco IOS Software Configuration Guide for Cisco Aironet Access Points
OL-14209-01
Chapter 18 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:
Using the snmp-server view Command
In global configuration mode, use the
snmp-server view
command to access Standard IEEE 802.11 MIB
objects through IEEE view and the dot11 read-write community string.
This example shows how to enable IEEE view and dot11 read-write community string:
AP(config)#
snmp-server view ieee ieee802dot11 included
AP(config)#
snmp-server community dot11 view ieee RW
SNMP Examples
This example shows how to enable SNMPv1, SNMPv2C, and SNMPv3. The configuration permits any
SNMP manager to access all objects with read-only permissions using the community string
public
. This
configuration does not cause the access point to send any traps.
AP(config)#
snmp-server community public
Step 5
show running-config
Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration
file.
Command
Purpose
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
snmp-server contact
text
Set the system contact string.
For example:
snmp-server contact Dial System Operator at beeper 21555
.
Step 3
snmp-server location
text
Set the system location string.
For example:
snmp-server location Building 3/Room 222
Step 4
end
Return to privileged EXEC mode.
Step 5
show running-config
Verify your entries.
Step 6
copy running-config startup-config
(Optional) Save your entries in the configuration file.