ZXR102900ESeriesCommandReference
4.1.11setdate
Purpose
Thiscommandsetsthedateandtimeoftheswitch.
CommandMode
Globalcongurationmode
Syntax
setdate<yyyy-mm-dd>time<hh:mm:ss>
ParameterDescription
ParameterDescription
<yyyy-mm-dd>
yyyy-mm-ddindicatesyear,month,andday.Theyearranges
from2004to2037.
Guidelines
Aftertheswitchisrestarted,thedateandtimeneedtobere-congured.Theautomatic
timesynchronizationfunctionoftheswitchcanbeenabledthroughNetworkTimeProtocol
(NTP)conguration.FordetailsofNTPconguration,refertotheNTPConguration
sectioninthismanual.
4.1.12hostname
Purpose
Thiscommandsetsorchangesthehostname.
CommandMode
Globalcongurationmode
Syntax
hostname<name>
ParameterDescription
ParameterDescription
<name>Hostname
Example
Thefollowingexamplesetsthehostnametohello:
4-6
SJ-20130731155059-003|2013-11-27(R1.0)ZTEProprietaryandCondential