12-02-2004 11:20 PM - edited 03-09-2019 09:38 AM
"logging timestamp" has been used,but i can't see any datetime in the log content and was shown like below.
302016: Teardown UDP connection -23651592 for outside:21.20.103.47/53 to inside
Thanks in advance.
Regard,
yuntao
12-03-2004 07:03 AM
Where are you viewing the logs? If you answer is the console, then no, you won't see the timestamp. It applies to syslog. Not sure if it also used in the PDM since I don't use it. Anyone else know?
12-03-2004 11:57 PM
I am viewing it in vty lines.
Regards,
yuntao
12-05-2004 04:53 PM
It might help if you could post the part of the config dealing with logging and service timestamps.
What is the source of time for your device?
Can you post the results of show clock?
HTH
Rick
12-05-2004 05:21 PM
logging on
logging timestamp
logging console emergencies
logging monitor errors
logging buffered errors
The source of time is a NTP server(C6509)
ntp authentication-key 1 md5 ******
ntp authenticate
ntp trusted-key 1
ntp server 192.168.1.1 key 1 source outside
show clock
09:20:57.338 Paking Mon Dec 6 2004
12-05-2004 11:10 PM
try adding this command 'service timestamps'
I use the following:
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide