[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1365
  • Last Modified:

Cisco 3825: how to check log file?

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
okamon
Asked:
okamon
  • 4
  • 2
  • 2
  • +2
3 Solutions
 
Ernie BeekExpertCommented:
The strange thing is that when I look at the picture it says NAC unavailable, not logging (?)
0
 
jmeggersSr. Network and Security EngineerCommented:
Can you get to the CLI and do "show log"?
0
 
jjmartineziiiCommented:
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
Get Cisco Certified in IT Security

There’s a high demand for IT security experts and network administrators who can safeguard the data that individuals, corporations, and governments rely on every day. Pursue your B.S. in Network Operations and Security and gain the credentials you need for this high-growth field.

 
okamonAuthor Commented:
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
 
jjmartineziiiCommented:
"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
 
Istvan KalmarHead of IT Security Division Commented:
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
 
okamonAuthor Commented:
>>all cisco devices supporting log

by default it's disabled? do I just type show log in CLI?
0
 
jjmartineziiiCommented:
yes, it was already mentioned twice
0
 
jjmartineziiiCommented:
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
 
Istvan KalmarHead of IT Security Division Commented:
you able to log buffer with type CLi to 'sh log'
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

  • 4
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now