Specifications

2-163
Cisco IOS Command Reference for Cisco Aironet Access Points and Bridges
0L-24115-01
Chapter 2 Cisco IOS Commands for Access Points and Bridges
logging snmp-trap
logging snmp-trap
Use the logging snmp-trap global configuration command to specify the severity level of syslog
messages for which the access point sends SNMP traps.
[no] logging snmp-trap severity
Syntax Description
Defaults This command has no defaults.
Command Modes Global configuration
Command History
Usage Guidelines For the logging snmp-trap command to operate correctly, you must also configure these global
configuration commands on the access point:
AP(config)# logging history severity
AP(config)# snmp-server enable traps
AP(config)# snmp-server host address syslog
Examples This example shows how to configure the access point to send SNMP traps for all severity levels:
AP(config)# logging snmp-trap 0 7
This example shows how to configure the access point to send SNMP traps only for warning messages:
AP(config)# logging snmp-trap warnings
Related Commands
severity Specifies the severity levels for which the access point sends SNMP traps.
You can enter a range of severity levels--0 through 7--or a single severity
level.
To specify a single severity level, enter emergencies (level 0), alerts (level
1), critical (level 2), errors (level 3), warnings (level 4), notifications (level
5), informational (level 6), or debugging (level 7).
Release Modification
12.3(2)JA This command was introduced.
Command Description
logging buffered Controls logging of messages to an internal buffer
show logging Displays recent logging event headers or complete events
clear logging Clears logging status count and the trace buffer