Syslog configuration on Cisco devices

Search another article?

Syslog configuration on Cisco devices

You are here:
< Back

Syslog configuration on Cisco devices

This article explain how to configure Cisco devices to send log to SGBox using syslog protocol. All the following command has been taken from this website: https://www.ciscopress.com/articles/article.asp?p=426638&seqNum=3
Log in to your device using a terminal link program (eg. Putty) and run the following command:

Cisco Switches
Console> (enable) set logging server 192.168.0.30
192.168.0.30 added to System logging server table.
Console> (enable) set logging server facility local4
System logging server facility set to
Console> (enable) set logging server severity 4
System logging server severity set to <4>
Console> (enable) set logging server enable
System logging messages will be sent to the configured syslog servers.
Console> (enable) show logging

Cisco Routers
Router#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#logging 192.168.0.30
Router(config)#logging facility local3
Router(config)#logging trap warning
Router(config)#end
Router#show logging