152
MES1000, MES2000 Ethernet Switches
logging aggregation aging-
time
sec
(15..3600)
Define the grouped syslog message lifetime.
no logging aggregation
aging-time
Restore the default value.
logging cli-commands
Accounting is disabled by
default.
Enable accounting for commands entered into CLI.
no logging cli-commands
Restore the default value.
Each message has its own importance level. Table 6.101 lists message types in descending order of
importance level.
Table 5.169 —Message importance types
Message importance type
Description
Emergencies
Critical error has occurred in the system, the system may operate
improperly.
Alerts
Immediate intervention is required.
Critical
Critical error has occurred in the system.
Errors
An error has occurred in the system.
Warnings
A warning, non-emergency message.
Notifications
System notifications, non-emergency message.
Informational
Informational system message.
Debugging
Debug messages, provide information for correct system configuration.
Privileged EXEC mode commands
Command line request in Privileged EXEC mode appears as follows:
console#
Table 5.170 —Privileged EXEC mode command for the log file viewing
Command
Action
clear logging
Delete all messages from the internal buffer.
clear logging file
Delete all messages from the log file.
show logging file
Show log state, alert and debug messages stored in the log file.
show logging
Show log state, alert and debug messages stored in the internal buffer.
show syslog-servers
Show remote syslog server settings.
Example use of commands
Enable error message registration at the console:
console#
configure
console (config)#
logging on
console (config)#
logging console
errors
Clear the log file:
console#
clear logging
file
Clear Logging File [y/n]y