
17-9
Cisco Aironet 1100 Series Access Point Installation and Configuration Guide
OL-2851-01
Chapter 17 Configuring SNMP
Configuring SNMP
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 and SNMPv2C. 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
This example shows how to permit any SNMP manager to access all objects with read-only permission
using the community string
public
. The access point also sends config traps to the hosts 192.180.1.111
and 192.180.1.33 using SNMPv1 and to the host 192.180.1.27 using SNMPv2C. The community string
public
is sent with the traps.
AP(config)#
snmp-server community public
AP(config)#
snmp-server enable traps config
AP(config)#
snmp-server host 192.180.1.27 version 2c public
AP(config)#
snmp-server host 192.180.1.111 version 1 public
AP(config)#
snmp-server host 192.180.1.33 public
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.