SNMP
4-34 Advanced Configuration
Using the CLI to Configure SNMP
Theaccesspointincludesanon‐boardagentthatsupportsSNMPversions1,2c,and3.Accessto
theon‐boardagentusingSNMPv1andv2ciscontrolledbycommunitystrings.Tocommunicate
withtheaccesspoint,amanagementstationmustfirstsubmitavalidcommunitystringfor
authentication.
Refer
totheRoamAboutRBT‐4102WirelessAccessPointCommandLineInterfaceReferenceGuide,fora
completelistofSNMPcommands.
CLI Commands for SNMP
Usethesnmp‐serverenableservercommandfromtheglobalconfigurationmodetoenable
SNMP.Youcanusethesnmp‐serverv1enablecommandtopreventaccessfromSNMPv1clients.
Tosetread/writeandread‐onlycommunitynames,usethesnmp‐servercommunitycommand.
Thesnmp‐serverhostcommanddefinestrap
receiverhostsandthesnmp‐servertrapcommand
enablesordisablesspecifictraps.
Examples
RoamAbout 4102#configure
Enter configuration commands, one per line. End with CTRL/Z
RoamAbout 4102(config)#snmp-server enable server
RoamAbout 4102(config)#snmp-server v1 disable
RoamAbout 4102(config)#snmp-server community alpha rw
RoamAbout 4102(config)#snmp-server community beta ro
RoamAbout 4102(config)#snmp-server host 1 192.168.1.9 alpha
RoamAbout 4102(config)#snmp-server trap dot11StationAssociation
RoamAbout 4102(config)#
Toviewthe currentSNMPsettings,usetheshowsnmpcommand.
RoamAbout 4102#show snmp
SNMP Information
==============================================
Service State : Enable
Community (ro) : *****
Community (rw) : *****
EngineId :80:00:07:e5:80:00:00:2e:62:00:00:00:18
EngineBoots:1
Trap Destinations:
1: 192.168.1.9, Community: *****, State: Enabled
2: 0.0.0.0, Community: *****, State: Disabled
3: 0.0.0.0, Community: *****, State: Disabled
4: 0.0.0.0, Community: *****, State: Disabled
dot11InterfaceAFail Enabled dot11InterfaceGFail Enabled
dot11StationAssociation Enabled dot11StationAuthentication Enabled
dot11StationReAssociation Enabled dot11StationRequestFail Enabled
dot11WirelessSTPDetection Enabled dot1xAuthFail Enabled
dot1xAuthNotInitiated Enabled dot1xAuthSuccess Enabled
dot1xMacAddrAuthFail Enabled dot1xMacAddrAuthSuccess Enabled
iappContextDataSent Enabled iappStationRoamedFrom Enabled
iappStationRoamedTo Enabled localMacAddrAuthFail Enabled