Chapter4define
rangeadd
Command
Function
Thiscommandisusedtoaddoneaddressrange.
CommandFormatrangeaddname<string1>ip1<string2>ip2<string3>[exc
ept<string4>][session<number>]
Parameter
Description
Parameter
Description
addThisaddsaddressrange.
name
Thissetsnameforaddressrange.
<string1>
Thisisonestring,indicatingthenameof
addressrange.
ip1
ThissetsstartIPaddressforaddressrange.
<string2>
Thisisonestring,indicatingIPaddress,in
formatof0.0.0.0.
ip2
ThissetsendIPaddressforaddressrange.
<string3>
Thisisonestring,indicatingIPaddress,in
formatof0.0.0.0.
except
ThissetsexceptIPaddressinaddressrange.
<string4>
Thisisonestring,indicatingIPaddress,in
formatof0.0.0.0.
session
Thissetsthenumberofsession.
<number>
Thisisonenumber,indicatingthenumberof
sessions.
Command
Illustration
Thevalueofip1mustnātbelargerthanthatofip2,oritwillreport
error .ThevalueofparameterExceptshallbewithintherange
betweenIpaddress1andIpaddress2.
ThedefaultrangeconīægurationforFWsystemisany0.0.0.0-
255.255.255.255.
Atthesamemoment,thenumberofconnectionsofindividualad-
dresseswithintheaddressrangecannotexceedthenumberof
maxsessions.
ExampleT oaddaddressrange1andsettherangeto
172.16.1.10ā172.16.1.80,executethefollowingcommand:
#rangeaddnamerange1ip1172.16.1.10ip2172.16.1.80
rangemodify
Command
Function
Thiscommandisusedtomodifyoneaddressrange.
CommandFormatrangemodifyname<string1>ip1<string2>ip2<string3>[e
xcept<string4>][session<number>]
ConfidentialandProprietaryInformationofZTECORPORATION43