38
logging host index
Description
The
logging host index
command is used to configure the Log Host. To clear
the configuration of the specified Log Host, please use
no logging host index
command. Log Host is to receive the system log from other devices. You can
remotely monitor the settings and operation status of other devices through the
log host.
Syntax
logging host index
idx
host-ip level
no logging host index
idx
Parameter
idx
—— The index of the log host. The switch supports 4 log hosts at most.
host-ip
—— The IP for the log host.
level
—— The severity level of the log information sent to each log host. There
are 8 severity levels marked with values 0-7. The smaller value has the higher
priority. Only the log with the same or smaller severity level value will be sent to
the corresponding log host. By default, it is 6 indicating that the log information
marked with 0~6 will be sent to the log host.
Command Mode
Global Configuration Mode
Example
Enable log host 2 and set its IP address as 192.168.0.148, the level 5:
TL-SL2428(config)# logging host index
2 192.168.0.148 5
show logging local-config
Description
The
show logging local-config
command is used to display the configuration
of the Local Log including the log buffer and the log file.
Syntax
show logging local-config