
2 – Switch Command Line Interface
Groups and Commands
D000025-002 Rev. A
2-99
A
TimeManagement
time
Configure the time on the device.
Syntax:
Options:
Sample Output:
NOTE:
Time can be configured locally (using a local clock) or set to be
updated by an SNTP server. Please note that if you set the time
locally, the unit will unconfigure the NTP server IP address if set. If
no options are passed in, the current system time will be printed out.
timeZoneConf
Display/configure the time zone setting.
Syntax:
Options:
Sample Output:
time -S ipaddr | -T hhmmss[mmddyyyy]
-S ipaddr
Sets the NTP Server IP address.
-T hhmmss[mmddyyyy]
Set the local clock time hour, minutes, and seconds along with the month, day, and year.
-> time -S 172.26.0.254
Configured the NTP server ip address successfully
13:53:02 10/06/2006
Configured to use NTP server IP address: 172.26.0.254
timeZoneConf [offset]
offset
The time offset in relation to Greenwich Mean Time (GMT).
-> timeZoneConf -5
Timezone offset successfully configured
Current time zone offset is: -5