How to modify the time display in Cisco IOS and Wireshark

Home > Blogs > Cisco > How to modify the time display in Cisco IOS and Wireshark

How to modify the time display in Cisco IOS and Wireshark

Like This Blog 0Mark Jacob
Added by November 16, 2015

As a busy network admin, you have likely peered deeply into the data flowing throughout your network in order to locate the cause of problems. I just wanted to post a quick blog that I find useful in correlating the information from my debug outputs on my Cisco devices with packet captures performed using Wireshark.

For instructor-led training, see our Cisco Training Schedule and our Wireshark class.

On a Cisco IOS device, the timestamps can be modified to your liking with the service timestamps option. If you are not familiar with it, feel free to type service timestamps ? to investigate further. The gist is you can set the timestamps for both your log messages and your debug output. When you want to correlate the capture in Wireshark with the information contained in a debug output, here is a sweet tweak you can make in Wireshark.


For comparison, figure 1 shows how the Wireshark output appears with default settings:

You may also like:  How to create a Cisco IOS Banner – Login and MOTD Message of the Day

To modify how the time appears, click the View menu option, then Time Display Format. I show it in figure 2:


You see all the choices at your disposal here. If I have set the time zone on my Cisco device, then I can match that choice as shown.  What I like to do is set the display to Nanoseconds together with Date and Time of Day. I show the results of that selection in figure 3:


Once again, I like to make the timestamp output match when I am troubleshooting because it makes it so much easier to correlate data from multiple sources. If this reduces the time spent for even one reader then it will be worth it. Unless you get paid by the hour.

If you have any comments or suggestions, please feel free to post them.

Until next time….

Mark Jacob
Cisco and CompTIA Network + Instructor – Interface Technical Training
Phoenix, AZ

Videos You May Like

An Overview of Office 365 – Administration Portal and Admin Center

0 16 1

In this Office 365 training video, instructor Spike Xavier introduces some of the most popular services found in Microsoft Office 365 including the Admin Portal and Admin Center.

Creating Users and Managing Passwords in Microsoft Office 365

0 16 1

In this Office 365 training video, instructor Spike Xavier demonstrates how to create users and manage passwords in Office 365.

Detailed Forensic Investigation of Malware Infections – April 21, 2015

1 52 1

In this IT Security training video, Security expert Mike Danseglio (CISSP / CEH) will perform several malware investigations including rootkits, botnets, viruses, and browser toolbars.

Write a Comment

Share your thoughts...

Please fill out the comment form below to post a reply.