Shows the current time on the switch.
detail | In addition to the current time, this option shows boot time, time zone, and the clock source. |
N/A.
The date, time, time zone abbreviation, and offset from UTC appear in the following format: <weekday_abbreviation> <month_abbreviation> <day_of_month> <HH:MM:SS> <timezone>(UTC<+|-><utc_offset>) <year>
Current Time: <current_time> Boot Time: <boot_time> Timezone: <DST_status> <GMT_offset> <timezone_name> <DST_in_effect> <DST_begin> <DST_end> Source: [Local | NTP | SNTP] <ntp_peer_mode> <sntp_ntp_address>
<ntp_peer_mode> is only valid when the source is NTP. <ntp_peer_mode> can be any of the following:
<sntp_ntp_address> is the peer address when source is NTP. <sntp_ntp_address> is the server address when source is SNTP.
The source is determined as follows:
If SNTP is enabled and active, SNTP is assumed to be the clock source. Otherwise, if NTP peer mode is not zero (unspecified) and the peer address is not 0.0.0.0, NTP is assumed to be the clock source. Otherwise, the clock source is local.
The following example shows detailed time information on the switch:
# show time detail Current Time: Wed Oct 25 03:43:22 2017 Boot Time: Sat Oct 21 04:12:53 2017 Timezone: [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC. Source: Local
This command was first available in ExtremeXOS 22.4.
This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.