Logging Loghost; Show Logging Local-Config - TP-Link JetStream L2 Lite TL-SG3210 Cli Reference Manual

Managed switch
Hide thumbs Also See for JetStream L2 Lite TL-SG3210:
Table of Contents

Advertisement

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 lolcal-config command is used to display the configuration
82

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents