ZXR108900SeriesCommandManual(FWVolume)
policyadd
Command
Function
Thiscommandisusedtocustomizeoneapplicationprotocolport
bindingpolicy.
CommandFormatpolicyaddname<ftp|tftp|sun_rpc|ms_rpc|sqlnet|rtsp|h2
25|h225ras|mms|sip|pptp>net<string1>mask<string2>
protocol<udp|tcp>port<number>[enable<yes|no>]
Parameter
Description
Parameter
Description
addThisaddsoneapplicationprotocolport
bindingpolicy.
name
Thisisonestring,specifyingthenameof
protocolwhichistore-defineport.
ftp|tftp|sun_rpc|m
s_rpc|sqlnet|rtsp
|h225|h225ras|
mms|sip|pptp
Thisprovidesseveraloptions.
net
Thisspecifiessubnetaddress.
<string1>
ThisisonestandardIPaddressstring.
mask
Thisspecifiessubnetmask.
<string2>
Thisisonestandardaddressmaskstring.
protocol
Thisspecifiesthenameofusedprotocol.
udp|tcpThisselectstheprotocoltobeused:UDPor
TCP.
port
Thiscustomizesserviceportofthisprotocol.
<number>Thisistheserviceportid.
enableThissetswhethertoenablethispolicy.The
policyisenabledbydefault.
yes|noYesindicatesenableandnoindicatesdisable.
ExampleT obindHTTPpacketssenttosubnet192.168.0.0/255.255.0.0with
destinationport8080,executethefollowingcommand:
#policyaddnamehttpnet192.168.0.0mask
255.255.0.0protocoltcpport8080
policymodify
Command
Function
Thiscommandisusedtomodifyoneapplicationprotocolportbind-
ingpolicy.
CommandFormatpolicymodifyid<number1>name<ftp|tftp|sun_rpc|ms_rpc
|sqlnet|rtsp|h225|h225ras|mms|sip|pptp>net<string1>
mask<string2>protocol<udp|tcp>port<number2>[enable
<yes|no>]
66ConfidentialandProprietaryInformationofZTECORPORATION