Chapter4define
Parameter
Description
<string2>
Thisisonestring,indicatingIPaddress,in
formatof192.168.1.6.Itcanbeoneormore
IPaddresses.AsformultipleIPaddresses,
spaceisusedbetweeneachtwoIPaddresses
andalladdressesarequotedwithsingle
quotes.
macaddr
ThisspecifiesonenewMACaddress.
<macaddress>Thisisonestring,indicatingMACaddress,in
formatof00:00:00:00:00:00.
session
Thisspecifiesthenewnumberofmax
sessions.
<number1>
Thisisonenumber,indicatingthenumberof
sessionsonhost.
halfsessionThismodifiesthenumberofhalf-sessions.
<number2>
Thisisonenumber,indicatingthenumberof
half-sessionsonhost.
ExampleT omodifyIPaddressofhost1to192.168.1.20,executethefol-
lowingcommand:
#hostmodifynamehost1ipaddr192.168.1.20
hostrename
Command
Function
Thiscommandisusedtorenameonehost.
CommandFormathostrenameoldname<string1>newname<string2>
Parameter
Description
Parameter
Description
rename
Thisrenamesonehost.
oldname
Thisspecifiesthenameofhosttoberenamed.
<string1>
Thisisonestring,indicatingthenameofhost
(thehostnamehasbeendefined).
newname
Thisspecifiesnewnameforonehost.
<string2>
Thisisonestring,indicatingnewnameofthe
host.
ExampleT orenamehost1tohost2,executethefollowingcommand:
#hostrenameoldnamehost1newnamehost2
hostdelete
Command
Function
Thiscommandisusedtodeleteonehost.
ConfidentialandProprietaryInformationofZTECORPORATION41