Simple Network Management Protocol (SNMP) and Syslog | 597
Related
Commands
logging buffered
Enable logging and specify which messages are logged to an internal buffer. By default, all messages 
are logged to the internal buffer.
Syntax
logging buffered [level] [size] 
To return to the default values, use the default logging buffered command. To disable logging stored 
to an internal buffer, use the no logging buffered command.
Parameters
 
Defaults
level = 7; size = 40960 bytes
Command Modes
CONFIGURATION
Command
History
Usage
Information
When you decrease the buffer size, all messages stored in the buffer are lost. Increasing the buffer size 
does not affect messages stored in the buffer.
Related
Commands
 
logging console
Specify which messages are logged to the console. 
Syntax
logging console [level]
To return to the default values, use the default logging console command. To disable logging to the 
console, use the no logging console command.
Parameters
 
logging on Enables the logging asynchronously to logging buffer, console, Syslog server, and 
terminal lines.
logging trap Enables logging to the Syslog server based on severity.
level
(OPTIONAL) Indicate a value from 0 to 7 or enter one of the following 
equivalent words: emergencies, alerts, critical, errors, warnings, notifications, 
informational, or debugging. 
Default: 7 or debugging.
size
(OPTIONAL) Indicate the size, in bytes, of the logging buffer. The number of 
messages buffered depends on the size of each message.
Range: 40960 to 524288.
Default: 40960 bytes.
Version 8.3.16.1 Introduced on MXL 10/40GbE Switch IO Module
clear logging Clears the logging buffer.
default logging buffered Returns the logging buffered parameters to the default setting.
show logging Displays the logging setting and system messages in the internal buffer.
level
(OPTIONAL) Indicate a value from 0 to 7 or enter one of the following parameters: emergencies, 
alerts, critical, errors, warnings, notifications, informational, or debugging. 
Default: 7 or debugging.