Cisco Switches – Change default syslog port

So at work we have been setting up Nagios XI, Nagios Network Analyzer, and Nagios Log Server.  One of the tasks was to get all of the switches to send their syslog messages to the Nagios Log Server.  However, it was set to allow syslog messages to come in on TCP/UDP port 5544 instead of the default UDP514.  So I started looking at how I could change the default syslog port on the switches.

The command that needs to be run is:

config t
logging host [ip of log server] transport udp port 5544

Pretty simple.  The site I came across said this might be dependent on the IOS version you are running.

Source: lachlanmiskin.com


PDF pageEmail pagePrint page

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.