Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

What command should we type in if we want to make the router generate time stamps on the debug messages?

user-image
Question added by Deleted user
Date Posted: 2013/12/12
Naisamudddin PK
by Naisamudddin PK , Network Security Engineer , HCL Infosystems Ltd

Hi,

 

You can use service   " timestamps log datetime" command to enable time stamps in cisco routers.

 

HTH.

Hassan Javed Sheikh
by Hassan Javed Sheikh , Research Officer , Heavy Industries Taxila

router(config)#interface virtual-template1 router(config-if)#no ip route-cache router(config-if)#end router#debug ip packet detail105 IP packet debugging is on (detailed) for access list105 router#00:10:01: IP: s=13.1.1.1 (Serial3/0), d=10.10.10.2 (Virtual-Access1), g=10.10.10.2, len100, forward router(config)#interface serial3/0 router(config-if)#no ip route-cache router(config-if)#end router#00:11:57: IP: s=10.10.10.2 (Virtual-Access1), d=13.1.1.1 (Serial3/0), g=172.16.1.6, len100, forward00:11:57: ICMP type=8, code=0 ! -- ICMP packet (echo) from10.10.10.2 to13.1.1.1 00:11:57: IP: s=13.1.1.1 (Serial3/0), d=10.10.10.2 (Virtual-Access1), g=10.10.10.2, len100, forward00:11:57: ICMP type=0, code=0 ! -- ICMP return packet (echo-reply) from13.1.1.1 to10.10.10.2 00:11:57: IP: s=10.10.10.2 (Virtual-Access1), d=13.1.1.1 (Serial3/0), g=172.16.1.6, len100, forward00:11:57: ICMP type=8, code=000:11:57: IP: s=13.1.1.1 (Serial3/0), d=10.10.10.2 (Virtual-Access1), g=10.10.10.2, len100, forward00:11:57: ICMP type=0, code=0http://www.cisco.com/c/en/us/td/docs/ios/12_2/configfun/configuration/guide/ffun_c/fcf013.html

More Questions Like This