Operation Manual

IP Services Commands
Mobility System Software Command Reference Guide
Version 7.3
8 – 130
success: set ip address 10.10.20.20 netmask 255.255.255.0 on vlan taupe
MX# set system ip-address 10.10.20.20
success: change accepted.
See Also
clear system ip-address on page 8-99
set interface on page 8-102
show system on page 4-40
set timedate
Sets the time of day and date on the MX.
Syntax
set timedate {date mmm dd yyyy [time hh:mm:ss]}
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Usage
The day of week is automatically calculated from the day that you set. The time displayed
by the CLI after you type the command might be slightly later than the time entered due to the
interval between pressing Enter and when the CLI reads and displays the new time and date.
Configure summertime before you set the time and date. Otherwise, the summertime adjustment
makes the time incorrect, if the date is within the summertime period.
Examples
The following command sets the date to March 13, 2003 and time to 11:11:12:
MX# set timedate date feb 29 2004 time 23:58:00
Time now is: Sun Feb 29 2004, 23:58:02 PST
See Also
clear summertime on page 8-99
clear timezone on page 8-100
set summertime on page 8-128
set timezone on page 8-130
show summertime on page 8-143
show timedate on page 8-144
show timezone on page 8-144
set timezone
Sets the number of hours, and optionally, the number of minutes, that the MX real-time clock is
offset from Coordinated Universal Time (UTC). These values are also used by Network Time
Protocol (NTP), if it is enabled.
date mmm dd yyyy System date:
mmm—month.
dd—day.
yyyy—year.
time hh:mm:ss System time, in hours, minutes, and seconds.