MES53xx, MES33xx, MES23xx Ethernet Switch Series
142
Global configuration
mode commands
)/errors
selected importance level to the log file.
no logging file
Disable transmission of alarm and debug messages to the log
file.
aaa logging login
-/enabled
Store authentication, authorization and accounting (AAA)
events in the log.
no aaa logging login
Do not store authentication, authorization and accounting
(AAA) events in the log.
logging cli-commands
-/disabled
Enable logging CLI commands.
no logging cli-commands
Disable logging CLI commands.
file-system logging {copy |
delete-rename}
Registration is enabled by
default.
Enable file system events registration.
-
copy
- registration of messages related to file copy
operations;
-
delete-rename
- registration of messages related to file
delete and rename operations;
no file-system logging
{copy | delete-rename}
Disable file system events registration.
logging aggregation on
-/disabled
Enable syslog message aggregation control.
no logging aggregation on
Disable syslog message aggregation.
logging aggregation
agingtime
sec
sec: (15..3600)/300 seconds
Specify grouped syslog message lifetime.
no logging aggregation
aging-time
Set the default value.
Each message has its own importance level. Table 5.152 lists message types in descending order of
importance level.
Table 5.147. Message importance type
Message importance type
Description
Emergencies
A critical error has occurred in the system, the system may not operate
properly.
Alerts
Immediate action is required.
Critical
A 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
Information messages of the system.
Debugging
Debug messages provide information for correct system configuration.
Privileged EXEC mode commands
Command line prompt in the Privileged EXEC mode is as follows:
console#
Table 5.148. Log view command in the Privileged EXEC mode
Command
Value/Default value
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 in the console:
console#
configure
console (config)#
logging on