![](/images/new-backgrounds/1103569/103569377x1.webp)
Chapter 7: Command-Line Management
3.Command Syntax: show rtc time
4.Example:
The following example shows the use of show rtc time to show RTC time: switch_a>show rtc time
Adjust RTC Time:
1.Command Mode: Privileged Exec mode Logon to Privileged Exec Mode (Enable Mode). The switch_a# prompt will show on the screen. switch_a#
2.Usage:
Use this command to configure the time of RTC.
3. Command Syntax:
set clock YEAR MONTH DAY HOUR MINUTE SECOND YEAR Specifies year from 2000 to 2037.
MONTH
DAY
HOUR
MINUTE
SECOND
4. Example:
The following example sets the time of RTC as July/20/2015 12:30:50: switch_a#set clock 2015 7 20 12 30 50
switch_a# NTP Status:
1. Command Mode: Configure mode
Logon to Configure Mode (Configure Terminal Mode). The switch_a(config)# prompt will show on the screen. switch_a(config)#
2. Usage:
Use ntp enable command to enable NTP for the Switch.
Use no ntp enable command to disable NTP for the Switch.
3.Command Syntax: (no) ntp enable
Page 189 |