ZXR10 2900E Series Command Reference
4.1.11 set date
Purpose
This command sets the date and time of the switch.
Command Mode
Global configuration mode
Syntax
set date
<
yyyy-mm-dd
>
time
<
hh:mm:ss
>
Parameter Description
Parameter
Description
<
yyyy-mm-dd
>
yyyy-mm-dd indicates year, month, and day. The year ranges
from 2004 to 2037.
Guidelines
After the switch is restarted, the date and time need to be re-configured. The automatic
time synchronization function of the switch can be enabled through Network Time Protocol
(
) configuration. For details of NTP configuration, refer to the
NTP Configuration
section in this manual.
4.1.12 hostname
Purpose
This command sets or changes the host name.
Command Mode
Global configuration mode
Syntax
hostname
<
name
>
Parameter Description
Parameter
Description
<
name
>
Host name
Example
The following example sets the host name to hello:
4-6
SJ-20130731155059-003|2013-11-27 (R1.0)
ZTE Proprietary and Confidential