Solved

Cisco Syslog setup - Send to syslog server

Posted on 2013-01-03
10
2,778 Views
Last Modified: 2013-01-04
I have set up my cisco to send the syslog to a syslog server, but it is showing link down on that ip address for the server.

Has anyone done this and know why it is showing link down?

Below is the configuration.

Console logging: level debugging, 991 messages logged, xml disabled,
                     filtering disabled
    Monitor logging: level debugging, 0 messages logged, xml disabled,
                     filtering disabled
    Buffer logging:  level warnings, 757 messages logged, xml disabled,
                    filtering disabled
    Exception Logging: size (4096 bytes)
    Count and timestamp logging messages: disabled
    Persistent logging: disabled
    Trap logging: level warnings, 1034 message lines logged
        Logging to x.x.x.x  (tcp port 515, audit disabled,
              link down),
              0 message lines logged,
              0 message lines rate-limited,
              0 message lines dropped-by-MD,
              xml disabled, sequence number disabled
              filtering disabled
        Logging to x.x.x.x  (tcp port 514, audit disabled,
              link down),
              0 message lines logged,
              0 message lines rate-limited,
              0 message lines dropped-by-MD,
              xml disabled, sequence number disabled
              filtering disabled
        Logging Source-Interface:       VRF Name:
        GigabitEthernet0/1
0
Comment
Question by:considerscs
  • 4
  • 3
  • 3
10 Comments
 
LVL 16

Expert Comment

by:max_the_king
ID: 38740412
Hi,
because it may not succeed in opening the socket on tcp port 514 (e.g.: the syslog server may not be listening on that port).
It is usually easier to let logs flow through udp port 514

hope this helps
max
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 38740425
So the server is reachable, syslog service is running and listening on those ports (normally it's using UDP)?
0
 
LVL 1

Author Comment

by:considerscs
ID: 38740499
server is reachable (though it is a third party vendors server) but even on udp port it is still not showing as link up.

Logging to x.x.x.x  (udp port 515, audit disabled,
              link down),
              0 message lines logged,
              0 message lines rate-limited,
              0 message lines dropped-by-MD,
              xml disabled, sequence number disabled
              filtering disabled
        Logging Source-Interface:       VRF Name:
        GigabitEthernet0/1
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
LVL 16

Expert Comment

by:max_the_king
ID: 38740536
there may be some mess on the sockets ... it might fix with a reload

please have a look at the following, it seems a very similar issue

https://supportforums.cisco.com/thread/1004039

hope this helps
max
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 38740541
So are you able to check the server to see if everything is up and running there? Also no firewall blocking anything?
And are you sure the server is listening on port 515? Like max said, normally syslog uses UDP port 514.
0
 
LVL 1

Author Comment

by:considerscs
ID: 38740569
I have it set up for udp port 514 and 515, but the server is controlled by a third party vendor.  This is all they do is run the syslog servers.

I will try the reload after hours when I am able to reload and see if that brings this up.
0
 
LVL 1

Author Comment

by:considerscs
ID: 38742622
the reboot did not work, they are all still showing down.
0
 
LVL 16

Accepted Solution

by:
max_the_king earned 500 total points
ID: 38743177
hi considerscs,
i believe you should use udp port for syslogging cisco devices (unless you want to write some C programs to adjust log format ...).
Then please:
1) check that your syslog server is listening on an udp port (be sure which one is - usually it is udp port 514, try and use that one)
2) remove your log host from cisco device configuration (no loggin host ...)
3) add up your loggin host again to cisco device configuration (loggin host ...)
4) test if it is successful

hope this helps
max
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 38743200
I think you might also want to check with the 3rd party vendor and let them check if everything is ok.
If you set up another device to send syslogs to the server, does that come through?
0
 
LVL 1

Author Closing Comment

by:considerscs
ID: 38743780
This came up after doing this.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
I had an issue with InstallShield not being able to use Computer Browser service on Windows Server 2012. Here is the solution I found.
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question