Black Box Hardened Managed Ethernet Switche Computer Hardware User Manual


 
724-746-5500 | blackbox.com
Page 189
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 <1-12> Specifies from 1 to 12.
DAY <1-31> Specifies from 1 to 31.
HOUR <0-23> Specifies from 0 to 23.
MINUTE <0-59> Specifies from 0 to 59.
SECOND <0-59> Specifies from 0 to 59.
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