You can also take advantage of some of these:
logging buffered 4096 debugging
creates a buffer of 4096 bytes (or whatever size you'd like) on the
router. You can use the "show log" command to view it.
clock timezone EST -5
clock summer-time EDT recurring
setting your timezone. In this case Eastern Standard Time (-5 off of
GMT) is configured on the first line. Eastern Daylight Time is set up to
automatically recur every year.
ntp server aaa.bbb.ccc.ddd
Sync the router's clock with a NTP (Network Time Protocol) server to
maintain a reliable clock.
service timestamps debug datetime localtime
service timestamps log datetime localtime
Forces the logger to log date and time of an event instead of uptime.
The example below shows you using up time (7w4d) as apposed to a more
meaningful date and time.
Hope that helps,
Roy
At 04:50 PM 10/1/2001 -0700, Don Weber wrote:
>OK, i've taken a little advice from each response i got, i now have the Kiwi
>syslog server installed on a win2kPro system, and running/logging, I started
>logging on the router and added the word log to the end of each line i
>wanted to log events from. I set
>
>logging trap debugging
>logging my.ip.address.here
>
>any recommendations on anything else.
>
>
>here's a few lines of what i get, does it look like it should, is there a
>way to get more, do i need any more?
>
>
>
>10-01-2001 16:45:55 Local7.Info xxx.xxx.xxx.1 43653: 7w4d:
>%SEC-6-IPACCESSLOGP: list 120 denied tcp 64.163.113.170(2987) ->
>xxx.xxx.xxx.145(80), 1 packet
>10-01-2001 16:45:45 Local7.Info xxx.xxx.xxx.1 43652: 7w4d:
>%SEC-6-IPACCESSLOGP: list 120 denied tcp 64.163.113.170(4736) ->
>xxx.xxx.xxx.123(80), 1 packet
>10-01-2001 16:45:44 Local7.Info xxx.xxx.xxx.1 43651: 7w4d:
>%SEC-6-IPACCESSLOGP: list 120 denied tcp 64.108.1.13(2349) ->
>xxx.xxx.xxx.150(80), 1 packet
>10-01-2001 16:45:37 Local7.Info xxx.xxx.xxx.1 43650: 7w4d:
>%SEC-6-IPACCESSLOGP: list 120 denied tcp 64.163.113.170(1607) ->
>xxx.xxx.xxx.206(80), 1 packet
>10-01-2001 16:45:21 Local7.Info xxx.xxx.xxx.1 43649: 7w4d:
>%SEC-6-IPACCESSLOGP: list 120 denied tcp 64.163.113.170(1471) ->
>xxx.xxx.xxx.20(80), 1 packet
>10-01-2001 16:45:18 Local7.Info xxx.xxx.xxx.1 43648: 7w4d:
>%SEC-6-IPACCESSLOGP: list 120 denied tcp 64.163.113.170(4689) ->
>xxx.xxx.xxx.203(80), 1 packet
>10-01-2001 16:45:14