Dell DR6300 DR Series System Command Line Reference Guide - Page 88

NTP Service is

Page 88 highlights

For example, September 29, 2011 13:20:00 can be entered in any of the following ways: • 0929132012 and 092913202012: where 0929 represents September 29, 1320 represents 13:20 in a 24-hour time format, and 12 and 2012 both represent 2012. • 0929132012.00 and 092913202021.00: where 0929 represents September 29, 1320 represents 13:20 in a 24-hour time format, 12 and 2012 both represent 2012, and .00 represents 13:20:00. Syntax NOTE: Respond to the prompt to stop the NTP service by issuing a system --setntp --disable command. system --setdate --date 092913202012 --timezone US/Pacific Please stop NTP service before changing time. system --setntp --disable Result Shutting down ntpd: [ OK ] Fri Jun 29 13:20:00 PDT 2012 NTP service is already disabled. Changed the time zone to US/Pacific Thu Jun 29 13:20:00 PDT 2012 system --setntp [--add ] Description Adds a new NTP server for use with the DR Series system. Syntax system --setntp --add 2.centos.pool.ntp.org Result Stopping NTP service ... Done Adding NTP server ... Done Starting NTP service ... Done NTP server 2.centos.pool.ntp.org added. Enter the following DR Series system CLI command to verify that the NTP server was successfully added: system --show --ntp NTP Service is Server 1 Server 2 Server 3 : UP : 0.centos.pool.ntp.org : 1.centos.pool.ntp.org : 2.centos.pool.ntp.org system --setntp [--delete ] Description Deletes an existing NTP server. Syntax system --setntp --delete 2.centos.pool.ntp.org Result Stopping NTP service ... Done Removing NTP server ... Done 88

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161

For example, September 29, 2011 13:20:00 can be entered in any of the following ways:
0929132012 and 092913202012: where 0929 represents September 29, 1320 represents 13:20 in a 24-hour time format,
and 12 and 2012 both represent 2012.
0929132012.00 and 092913202021.00: where 0929 represents September 29, 1320 represents 13:20 in a 24-hour time
format, 12 and 2012 both represent 2012, and .00 represents 13:20:00.
Syntax
NOTE:
Respond to the prompt to stop the NTP service by issuing a
system --setntp --disable
command.
system --setdate --date 092913202012 --timezone US/Pacific
Please stop NTP service before changing time.
system --setntp --disable
Result
Shutting down ntpd: [
OK
]
Fri Jun 29 13:20:00 PDT 2012
NTP service is already disabled.
Changed the time zone to US/Pacific
Thu Jun 29 13:20:00 PDT 2012
system --setntp [--add <server name>]
Description
Adds a new NTP server for use with the DR Series system.
Syntax
system --setntp --add 2.centos.pool.ntp.org
Result
Stopping NTP service ... Done
Adding NTP server ... Done
Starting NTP service ... Done
NTP server 2.centos.pool.ntp.org added.
Enter the following DR Series system CLI command to verify that the NTP server was successfully added:
system --show --ntp
NTP Service is
: UP
Server 1
: 0.centos.pool.ntp.org
Server 2
: 1.centos.pool.ntp.org
Server 3
: 2.centos.pool.ntp.org
system --setntp [--delete <server name>]
Description
Deletes an existing NTP server.
Syntax
system --setntp --delete 2.centos.pool.ntp.org
Result
Stopping NTP service ... Done
Removing NTP server ... Done
88