TP-Link TL-SG2428P | Jetstream 24 Port Gigabit Smart Managed PoE Switch | 24 PoE+ Ports @250W, 4 SFP Slots | Omada SDN Integrated | PoE Recovery | IPv6 | Static Routing | Limited Lifetime Protection

User Manual - Page 1142

For TL-SG2428P.

PDF File Manual, 1146 pages, Download pdf file

Loading ...
Loading ...
Loading ...
Configuring System Logs System Logs Configurations
User Guide 1113
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
: Enter the index of the log server. The switch supports 4 log servers at most.
host-ip
: Enter the IP address of the log server.
level
: Specify the severity level of the log messages sent to the log server. The range is from
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
: Enter the index of the log server 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 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 Severity Status
----- ------- -------- ------
1 0.0.0.0 6 disable
2 192.168.0.148 5 enable
3 0.0.0.0 6 disable
4 0.0.0.0 6 disable
Switch(config)#end
Switch#copy running-config startup-config
Loading ...
Loading ...
Loading ...