Applies to Models: AT-IE series, HV-x950 series, HV-x530 series, HV-x540 series, HV-x250 series, and HV-GS980 series Allied Telesis switches
Summary
This article describes the process to update the clock time on an Allied Telesis switch through a Telnet Session using CLI.
Setting the Switch Time
To set the switch time:
- Connect a USB-to-serial console cable to the switch and computer.
- Click Win + R and type Control Panel.
- Click OK.
- Click Device Manager.
- Navigate to Ports (COM & LPT) and click the drop-down menu.
- Locate the USB Serial Device that is connected to the computer, and note the COM number.
- Open a Terminal tool, such as PuTTY.
- Select Serial as the connection type.
- In the Serial line space, enter the Port Number and set the speed of the connection needed.
- Click Open to start a remote terminal session.
- When the terminal window opens, click Enter.
- Enter the username manager and click Enter.
- Enter the switch password and click Enter.
- Type enable to enter Privileged Exec mode.
- Type the command show clock to see the current time settings.
- Go to Global Configuration mode by typing the command config t.
- Enter the command clock timezone <switch timezone location> <plus or minus the timezone offset> <offset amount>. Example: clock timezone EDT minus 5.
- Click Ctrl + Z to exit the Global Configuration mode.
- Enter the command show clock to verify the time has been adjusted.
- Type exit to log out of the switch.