Tp-Link T1700X-16TS V2 [703/764] Configuring the remote log

Tp-Link T1700X-16TS V2 [703/764] Configuring the remote log
Configuration Guide 678
Configuring Maintenance System Log Configurations
Channel Level Status Sync-Periodic
------- ----- ------ -------------
Buffer 5 enable Immediately
Flash 2 enable 10 hour(s)
Monitor 5 enable Immediately
Switch(config)#end
Switch#copy running-config startup-config
3.2.2 Configuring the Remote Log
Remote Log enables the switch to send system logs to a host. To display the logs, the host
should run a log server that complies with the syslog standard.
Follow these steps to set the remote log:
Step 1 configure
Enter global configuration mode.
Step 2 logging host index
idx host-ip level
Configure the log host which receives the system logs from other devices. You can remotely
monitor the settings and operation status of other devices through the log host.
idx
: Enter the index of the log host. The switch supports 4 log hosts at most.
host-ip
: Specify the IP address for the log host.
level
: Enter the severity level of the log information that should be sent to each log host.
The range is 0 to 7, and 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. The default is 6,
indicating that the log information of levels 0 to 6 will be sent to the log host.
Step 3 show logging loghost [
index
]
View the configuration information of the log host.
index
: Enter the index of the log host to view the corresponding configuration information. If no
value is specified, information of all log hosts will be displayed.
Step 4 end
Return to privileged EXEC mode.
Step 5 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to set the remote log on the switch. Enable log host 2,
set its IP address as 192.168.0.148, and allow logs of levels 0 to 5 to be sent to the host:
Switch#configure
Switch(config)# logging host index 2 192.168.0.148 5

Содержание

Похожие устройства

Скачать