TP-Link T1500 Series User Manual page 837

Hide thumbs Also See for T1500 Series:
Table of Contents

Advertisement

Configuring System Logs
Step 2
logging host index idx host-ip level
Configure a remote host to receive the switch's system logs. The host is called Log Server.
You can remotely monitor the settings and operation status of the switch through the log
server.
idx :
host-ip
level :
0 to 7, and a lower value indicates a higher severity. Only log messages with a severity level
value that is the same or lower than this will be sent. The default is 6, indicating that the log
information of levels 0 to 6 will be sent to the log server.
Step 3
show logging loghost [ index ]
View the configuration information of the log server.
index
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 server 2,
set its IP address as 192.168.0.148, and allow logs of levels 0 to 5 to be sent to the server:
Switch#configure
Switch(config)# logging host index 2 192.168.0.148 5
Switch(config)# show logging loghost
Index Host-IP
-----
-------
1
0.0.0.0
2
192.168.0.148 5
3
0.0.0.0
4
0.0.0.0
Switch(config)#end
Switch#copy running-config startup-config
Enter the index of the log server. The switch supports 4 log servers at most.
: Enter the IP address of the log server.
Specify the severity level of the log messages sent to the log server. The range is from
: Enter the index of the log server to view the corresponding configuration information. If
Severity
Status
--------
6
disable
enable
6
disable
6
disable
------
System Logs Configurations
Configuration Guide
815

Advertisement

Table of Contents
loading

Table of Contents