Solved

Cisco 3825: how to check log file?

Posted on 2011-02-24
10
1,349 Views
Last Modified: 2012-05-11
The router shut down unexpectedly last night. I wanted to check what was wrong in the log in SDM. But it seems it's not supported in this IOS (c3825-ipbase-mz.124-3g.bin).... how is that possible? logging is basic feature in every router... is there way I can check what was wrong?
logging.jpg
0
Comment
Question by:okamon
[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
  • 2
  • 2
  • +2
10 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34971059
The strange thing is that when I look at the picture it says NAC unavailable, not logging (?)
0
 
LVL 18

Expert Comment

by:jmeggers
ID: 34971130
Can you get to the CLI and do "show log"?
0
 
LVL 12

Assisted Solution

by:jjmartineziii
jjmartineziii earned 266 total points
ID: 34971778
the "show logging" command shows the current log. unfortunately, unless you setup syslog to an external destination, the logs are cleared after every reboot.

if you run a syslog server, set it up to send those message to your server so you can view them next time it restarts/
0
Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

 

Author Comment

by:okamon
ID: 34971838
what is syslog?? and are you saying the cisco router doesn't have the ability to log events? Or because my IOS doesn't have this ability?
0
 
LVL 12

Assisted Solution

by:jjmartineziii
jjmartineziii earned 266 total points
ID: 34971904
"Centralizing log messages to a syslog server can improve the managability of any size network and can decrease response times to resolve problems. Sending router log messages to a remote server also allows longer archiving of messages than in a router’s limited storage. Messages stored by syslog have permanence that a router doesn’t. When a router is reloaded or power cycled, the messges in its log are erased. This recipe describes the configuration steps required to make a router send messages to a remote syslog server.

To send messages to the syslog server at 192.168.51.4, use this command from enable mode:

conf t
logging 192.168.51.4

The remote server must, of course, be configured to act as a syslog server and accept messages from the router."

logging is a basic function of any IOS version.

http://www.tech-recipes.com/rx/1433/configure-cisco-router-to-send-messages-to-remote-syslog-server/
0
 
LVL 34

Accepted Solution

by:
Istvan Kalmar earned 134 total points
ID: 34972841
all cisco devices supporting log

you need to enable the following
service timestamps debug datetime msec
service timestamps log datetime msec
logging buffered 16384
ntp server 148.6..0.1

For more information:

http://www.techrepublic.com/article/get-to-know-your-logging-options-in-the-cisco-ios/6084442
0
 

Author Comment

by:okamon
ID: 34973132
>>all cisco devices supporting log

by default it's disabled? do I just type show log in CLI?
0
 
LVL 12

Expert Comment

by:jjmartineziii
ID: 34973140
yes, it was already mentioned twice
0
 
LVL 12

Expert Comment

by:jjmartineziii
ID: 34973155
and no its not disabled by default. it erases when the router reloads. you said it reloaded unexpectedly so then the router lost the log.

if you dont want to lose the file on a reload, you need to set up the router to send those log messages to a syslog server. there are two posts on how to do that.
0
 
LVL 34

Expert Comment

by:Istvan Kalmar
ID: 34976868
you able to log buffer with type CLi to 'sh log'
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
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…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

751 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