Reset Search
 

 

Article

How to configure a syslog server

« Go Back

Information

 
TitleHow to configure a syslog server
Objective
How to configure a syslog server in EXOS
Environment
  • EXOS
  • Summit
  • BlackDiamond
Procedure
Type the following commands:
enable syslog
configure syslog add <ip_address> vr <virtual-router> local0
configure syslog <ip_address> vr <virtual-router> local0 severity info
enable log target syslog <ip_address>:<port> vr <virtual-router> local0
Additional notes
For NetSight, specify the format as well, with the command
configure log target syslog <ip_address>:<port> format timestamp seconds date mm/dd/yyyy host-name tag-id tag-name

In environments where multiple VLANs are configured with an IP address, the source IP of the Syslog traffic can be explicitly set using the following command:
configure log target syslog <configure-target-ip> from <source-ip-to-use>

In EXOS 21.1 and up, the udp port may need to be specified in the provided commands. The following error message is displayed otherwise:
X460# configure syslog 192.168.10.1 local0 severity error
Error:can't read "udpPort": no such variable
The default syslog port is 514.


 

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255