Clock - IBM WebSphere XS40 Command Reference Manual

Datapower xml security gateway
Table of Contents

Advertisement

Syntax
cancel
Guidelines
The cancel command cancels all configuration changes to the current object and
returns to the parent configure mode. This command is available in all
configuration modes except Interface configuration mode.
Related Commands
exit, reset
Examples
v Cancels the current configuration, which leaves the objects unchanged.

clock

Sets the date or time.
Syntax
clock yyyy-mm-dd
clock hh:mm:ss
Parameters
yyyy-mm-dd
hh:mm:ss
Guidelines
Also available in Global configuration mode.
Related Commands
ntp, show clock
Examples
v Sets the date to August 8, 2007.
v Sets the time to 8:31 PM.
# cancel
#
Specifies the date in four-digit year, two-digit month, and two-digit day
format. When setting the date, separate each value with a hyphen (-).
Specifies the time in two-digit hour, two-digit minute, and two-digit
second format. When setting the time, separate each value with a colon (:).
# clock 2007-08-08
Clock update successful
#
# clock 20:31:00
Clock update successful
#
Chapter 1. Initial login and common commands
5

Advertisement

Table of Contents
loading

Table of Contents