JetStream  52-Port Gigabit Stackable L3 Managed Switch  CLI Guide 
 
Command Mode 
Global Configuration Mode 
Example 
Enable logging to a host: 
T3700G-52TQ(config)#logging host 
18.6  logging host index 
Description 
The  logging host index  command is used to configure the syslog server 
hosts to receive logging messages. To clear the configuration of the 
specified Log Host, please use no logging host index 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 host index 
idx
 
host-ip
 
level
 
no logging host index 
idx
 
Parameter 
idx
 ——The index of the log host. The switch supports 8 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. 
Command Mode 
Global Configuration Mode 
Example 
Set the log host’s index as 2, IP address as 192.168.0.148 and the severity 
level as 5: 
T3700G-52TQ(config)#logging host index 2 192.168.0.148 5   
108