?
Solved

Cisco Syslog setup - Send to syslog server

Posted on 2013-01-03
10
Medium Priority
?
2,987 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 2000 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

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

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

This article is in regards to the Cisco QSFP-4SFP10G-CU1M cables, which are designed to uplink/downlink 40GB ports to 10GB SFP ports. I recently experienced this and found very little configuration documentation on how these are supposed to be confi…
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Suggested Courses

801 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