Setting The Agent Contact And Location Information; Using The Snmp-Server View Command; Snmp Examples - Cisco C3201FESMIC-TP= - 3201 Fast EN Switch Mobile Interface Card Expansion Module Software Configuration Manual

Wireless mic
Table of Contents

Advertisement

Simple Network Management Protocol

Setting the Agent Contact and Location Information

To set the system contact and location of the SNMP agent so that these descriptions can be accessed
through the configuration file, follow these steps, beginning in privileged EXEC mode:
Command
Step 1
configure terminal
Step 2
snmp-server contact text
Step 3
snmp-server location text
Step 4
end
Step 5
show running-config
Step 6
copy running-config startup-config

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:
bridge(config)# snmp-server view ieee ieee802dot11 included
bridge(config)# snmp-server community dot11 view ieee RW

SNMP Examples

The following 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 WMIC to send any traps.
bridge(config)# snmp-server community public
The following example shows how to assign the strings open and ieee to SNMP, to allow read-write
access for both, and to specify that open is the community string for queries on non-IEEE802dot11-MIB
objects and ieee is the community string for queries on IEEE802dot11-mib objects:
bridge(config)# snmp-server view dot11view ieee802dot11 included
bridge(config)# snmp-server community open
bridge(config)# snmp-server community ieee view ieee802dot11 rw
The following example shows how to permit any SNMP manager to access all objects with read-only
permission using the community string public. The WMIC 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.
bridge(config)# snmp-server community public
bridge(config)# snmp-server enable traps config
Purpose
Enters global configuration mode.
Sets the system contact string.
For example:
snmp-server contact Dial System Operator at beeper 21555.
Sets the system location string.
For example:
snmp-server location Building 3/Room 222
Returns to privileged EXEC mode.
Verifies your entries.
(Optional) Saves your entries in the configuration file.
rw
Cisco 3200 Series Wireless MIC Software Configuration Guide
Configuring SNMP
9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents