Solved

Cisco Syslog setup - Send to syslog server

Posted on 2013-01-03
10
2,943 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Don't Cry: How Liquid Web is Ensuring Security

WannaCry is just the start. Read how Liquid Web is protecting itself and its customers against new threats.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Let’s face it: one of the reasons your organization chose a SaaS solution (whether Microsoft Dynamics 365, Netsuite or SAP) is that it is subscription-based. The upkeep is done. Or so you think.
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

695 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