Using the snmp-server view command, Snmp examples, Using the snmp-server view command snmp examples – Rockwell Automation 1783-WAPxxx Stratix 5100 Wireless Access Point User Manual User Manual

Page 517

Advertising
background image

Rockwell Automation Publication 1783-UM006A-EN-P - May 2014

517

Configuring SNMP

Chapter 19

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 by 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 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

rw

bridge(config)# snmp-server community ieee view

ieee802dot11 rw

This example shows how to permit any SNMP manager to access all objects with
read-only permission by using the community string public. The access point also
sends config traps to the hosts 192.180.1.111 and 192.180.1.33 by using
SNMPv1 and to the host 192.180.1.27 by 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

Advertising