MES53xx, MES33xx, MES23xx Ethernet Switch Series
141
exec-timeout
minutes
[
seconds
]
minutes:(0..65535)/10 min;
seconds
:
(0..59)/0 seconds.
Specify the interval the system waits for user input. If the user
doesn't input anything during this interval, the console exits.
no exec-timeout
Set the default value.
EXEC mode commands
Command line prompt in the EXEC mode is as follows:
console#
Table 5.145. EXEC mode commands
Command
Value/Default value
Action
show line [console | telnet |
ssh]
-
Show the terminal parameters.
7.5
Alarm log, SYSLOG protocol
System logs are used to record device event history and manage events in real time. Seven types of
events are logged: emergencies, alerts, critical and non-critical errors, warnings, notifications,
informational and debug messages.
Global configuration mode commands
Command line prompt in the global configuration mode is as follows:
console(config)#
Table 5.146. Global configuration mode commands
Command
Value/Default value
Action
logging on
-/registration is enabled
Enable debug and error message registration.
no logging on
Disable debug and error message registration
When registration is disabled, debug and error
messages will be output in the console.
logging host {
ip_address
|
host
} [port
port
] [severity
level
] [facility
facility
]
[description
text
]
host: (1..158) characters
port: (1..65535)/514;
level: (see Table 6.101);
facility: (local0..7)/local7
text: (1..64) characters
Enable alarm and debug message transmission to a remote
SYSLOG server.
-ip_address
- IPv4 or IPv6 address of the SYSLOG server;
-
host
- SYSLOG server network name;
-
port
- port number for sending messages via SYSLOG;
-
level
- importance level for messages sent to a SYSLOG
server;
- facility
- the service transmitted in messages;
-
text
- SYSLOG server description.
no logging host
{
ip_address
|
host
}
Remove the selected server from the list of SYSLOG servers.
logging console [
level
]
level: (see Table 5.141.
Public key configuration
mode
commands)/informational
Enable transmission of alarm and debug messages with the
selected importance level to the console.
no logging console
Disable transmission of alarm and debug messages to the
console.
logging buffered
[
severity_level
]
severity_level: (see Table
5.141.
Public key
configuration mode
commands
)/informational
Enable transmission of alarm and debug messages with the
selected importance level to the internal buffer.
no logging buffered
Disable transmission of alarm and debug messages to the
internal buffer.
logging buffered size
size
size: (20..1000)/200
Change the number of messages stored in the internal buffer.
New buffer size value will take effect after the device is
restarted.
no logging buffered size
Set the default value.
logging file [
level
]
level: (see Table 5.140.
Enable transmission of alarm and debug messages with the