- 1). Connect the network device, such as a router or switch, directly to the admin workstation via the serial cable. If the device is actively a part of your network, then you can also access the device via telnet, thereby providing direct access to the router's command line interface without direct connection to the workstation. However, if you're connecting the router directly to the admin workstation, then launch your terminal emulation software on the workstation and power on the router.
- 2). At the router's command prompt, which looks like "hostname>" with "hostname" being substituted with the name of your device, type "en", then press "Enter." The command prompt will change to "hostname#." Depending on your network settings, you may need a password from your network administrator to enter privileged mode.
- 3). Type "conf t" and press "Enter." The command prompt changes to "hostname (config) #," thereby alerting you that you are in global configuration mode.
- 4). Type "clock timezone zone hours-offset." Replace "zone" with the time zone of your router and substitute the "hours-offset" with the amount of hours you are from Greenwich Mean Time (GMT). For example, if you are located in the Eastern time zone (EST), you would replace "zone" with EST and "hours-offset" with -5, as EST is minus-five hours from GMT. A link to the a World Time Zone Map is provided in Resources to assist you in determining the GMT. Press "Enter."
- 5). Type "clock summer-time zone recurring." Replace "zone" with your time zone's daylight time. For example, if you are in the Eastern time zone (EST), then you would type "clock summer-time EDT recurring," thereby instructing the router to adjust for Eastern Daylight Time (EDT). Press "Enter."
- 6). Type "CNTL/Z" or "End." Press "Enter." This will return you to executive privileged mode, as you cannot set the clock in global configuration mode.
- 7). Type "clock set hh:mm:ss day month year" and press "Enter." The command line should resemble "clock set 12:10:00 January 25 2010." Always use military time to set the clock. Your router's logs will now have the correct time and date stamp.
- 8). Type "show clock," thereby confirming you have set the correct date and time stamp.
- 9). Save your changes to the configuration file by typing "copy running-config startup-config." Press "Enter."
SHARE