TP-Link TL-SG5412F Switch User Manual


 
91
Example
Clear the information in the log file:
TP-LINK(config)# logging clear buffer
logging loghost
Description
The logging loghost command is used to configure the Log Host. To clear the
configuration of the specified Log Host, please use no logging loghost
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 loghost index {idx} {host-ip} {level} {disable | enable}
no logging loghost index {idx}
Parameter
idx ——The index of the log host. The switch supports 4 log hosts.
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.
disable | enable ——Disable or enable the log host. By default, it is disabled.
Command Mode
Global Configuration Mode
Example
Enable the log host 2 and set the IP address 192.168.0.148, the level 5:
TP-LINK(config)# logging loghost index 2 192.168.0.148 5 enable
show logging local-config
Description
The show logging local-config command is used to display the configuration