Parameter
Description
Command
Illustration
Example
Command
Function
Command Format
Command
Function
Command Format
Parameter
modify
id
<number1>
name
ftp|tftp|sun_rpc|m
s_rpc|sqlnet|rtsp
|h225| h225ras|
mms|sip|pptp
net
<string1>
mask
<string2>
protocol
udp|tcp
port
<number>
enable
yes|no
Command policy show can be used to view ID of policy.
To modify port id of FTP packets in port binding policy whose id is
8182 to 2121, execute the following command:
# policy modify id 8182 name ftp net 0.0.0.0 mask
0.0.0.0 protocol tcp port 2121
policy clean
This command is used to clear all application protocol port binding
policies.
policy clean
policy delete
This command is used to delete one application protocol port bind-
ing policy.
policy delete id <number>
Confidential and Proprietary Information of ZTE CORPORATION
Description
This modifies one application protocol port
binding policy.
This is the ID of policy to be modified.
This is one number.
This is one string, specifying the name of
protocol which is to re-define port.
This provides several options.
This specifies subnet address.
This is one standard IP address string.
This specifies subnet mask.
This is one standard address mask string.
This specifies the name of used protocol.
This selects the protocol to be used: UDP or
TCP.
This customizes service port of this protocol.
This is the service port id.
This sets whether to enable this policy. The
policy is enabled by default.
Yes indicates enable and no indicates disable.
Chapter 5 dpi
67