System Ntp Commands; Set; Current Time - Motorola WS2000 - Wireless Switch - Network Management Device Cli Reference Manual

Wireless switch
Hide thumbs Also See for WS2000 - Wireless Switch - Network Management Device:
Table of Contents

Advertisement

4.6.1 System NTP Set Command

set

System NTP Commands

Sets NTP parameters.
Syntax
set [mode|intrvl|server|port|time|zone]
set mode <mode>
set intrvl <interval>
set server <idx> <ip/hostname>
set port <idx> <port>
set time <yyyy> <MM> <dd> <hh> <mm> <ss>
set zone <zone-index>
Syntax:
mode <mode>
intrvl <interval>
server <idx>
<ip/hostname>
port <idx> <port>
time <yyyy> <MM>
<dd> <hh> <mm>
<ss>
zone <zone-idx>
Example
admin(system.ntp)>set mode enable
admin(system.ntp)>set server 1 203.21.37.18
admin(system.ntp)>set port 1 345
admin(system.ntp)>show all
ntp mode
server ip 1
server ip 2
server ip 3
server port 1
server port 2
server port 3

current time

admin(system.ntp)>
Enables or disables NTP. <mode> is either
Sets the length of time to <interval> (in minutes) for the switch to synchronize its
time with an NTP server.
Sets the NTP server IP address <ip/hostname>
the three NTP servers with <idx> (1, 2, or 3). This value can also be a host name of
the NTP server. When the value is a host name, the domain name IP should be set
under the (system.ws2000) menu on the CLI.
Sets the NTP port for the indicated server <idx> to <port> (1–65535).
Sets the WS2000 system time manually. Time is in the format YYYY MM DD hh mm
ss (Example: 2008 02 24 11 25 32)
Sets the time zone to the <zone-idx> value. This value can be found by using the
(system.ntp)>zone-list
System CLI Commands Reference
enable
or disable.
(a.b.c.d
command.
: enable
: 203.21.37.18
: 0.0.0.0
: 0.0.0.0
: 345
: 123
: 123
: 1970-01-07
23:29:05
4-29
or host url); specify one of

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents