[Last Call] Learn how to a build a cloud-first strategyRegister Now


CISCO Bridge 1300 series IOS command line question: Clock timezone command giving invalid input error

Posted on 2008-11-05
Medium Priority
Last Modified: 2012-08-13
I'm troubleshooting some connectivity problems on two Cisco Wireless Bridges (1300 series) and am trying to get my logging set up in a useful way first. My first goal is to get the two bridges to display the same time in the logs, so that I can compare them easily.

After telnetting in, I reset the time using the set clock command to the same time, and that went fine.

I then tried to use the clock timezone command
clock timezone CST -6 to get the two bridges using the same time.
When I did that, I got, %Invalid input detected at marker, and the marker showed beneath the "t" in the word timezone.
I'm confused as to how to use this command, since I think I'm following the instructions from Cisco's help pretty explicitly.

Here's some background on how the time is set up on each bridge, in case anyone wants to comment on my larger goal of getting the times somewhat synced in the two logs. (I realize they could be getting the time from a definitive source, but i'm choosing to set the time manually for simplicity sake. )

Bridge 2's log (from the browser interface) was displaying the UTC time and was 6 hours off of local time ex: Nov 5 15:27:28.884 UTC. On the CLI, show clock returns 09:27:10.074 GMT Wed Nov 5 2008, which is the correct local time, though our timezone is CST.

Bridge 1's log (from the browser interface) was displaying correct local time with no timezone specified ex: Nov 5 09:21:09.416. On the CLI, show clock returns 09:21:41.194 UTC Wed Nov 5 2008.

Question by:youngslim
  • 5
  • 4

Accepted Solution

dkarpekin earned 600 total points
ID: 22889886
After each good know comand use "?" see following option availability.
You can set one of the router as an NTP server for your AP, and have this router pull time of somewhere else, or just hardware.

Expert Comment

ID: 22890184
If i recall correctly, commands are case sensitive. Try using a different case for the timezone command.

Author Comment

ID: 22890213
I did that, and it showed that the only option is "set" to "set the time and date"

Looking at the Cisco Guide for this box

shows me that i can use clock to set the timezone, but first I have to go into configure terminal mode. Then the timezone option will be available to me. I did it this way and things worked as expected.

The Question Mark was a hint to the answer, but not really the whole answer.

I copied the info below.

Step 1  
 configure terminal ( Enter global configuration mode. )
Step 2  
 clock timezone zone hours-offset [minutes-offset]  ( Set the time zone. )

The access point/bridge keeps internal time in universal time coordinated (UTC), so this command is used only for display purposes and when the time is manually set.

"For zone, enter the name of the time zone to be displayed when standard time is in effect. The default is UTC.

"For hours-offset, enter the hours offset from UTC.

"(Optional) For minutes-offset, enter the minutes offset from UTC.
Step 3  
 Return to privileged EXEC mode.
Step 4  
 show running-config
 Verify your entries.
Step 5  
 copy running-config startup-config
 (Optional) Save your entries in the configuration file.

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.


Expert Comment

ID: 22890240
It might be simle just use SDM, not to look for "proper" command, and see in CLI, what code is executed.

Author Comment

ID: 22890241
What's the fair thing as far as points? I'm happy to give them all to you, but not sure what the ethos is when someone points you to the right answer, but doesn't give you right answer.

Expert Comment

ID: 22890251
At your jugment.

Author Comment

ID: 22890364
simle just use SDM? please explain,

Expert Comment

ID: 22890438
Sorry , did not realize right away, that you miss "config t" it is essential.
You config colcks in SDM, and than go back to CLI see what command was iisued.........will help clear confusing what commands nneds to be used for certain purposes, can help you now and in a future, using this comparing og GUI and CLI.

Author Comment

ID: 22890493
What is SDM? Sorry, this is a new area for me.

Author Comment

ID: 22890548
SDM is the Security Device Manager (which we don't have).

Anyway - I got what I needed. Thanks,


Featured Post

Cyber Threats to Small Businesses (Part 2)

The evolving cybersecurity landscape presents SMBs with a host of new threats to their clients, their data, and their bottom line. In part 2 of this blog series, learn three quick processes Webroot’s CISO, Gary Hayslip, recommends to help small businesses beat modern threats.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For Sennheiser, comfort, quality and security are high priority areas. This paper addresses the security of Bluetooth technology and the supplementary security that Sennheiser’s Contact Center and Office (CC&O) headsets provide.  
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses
Course of the Month18 days, 14 hours left to enroll

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question