Policy Add; Policy Modify - Zte ZXR10 8900 Series Command Manual

10g routing switch
Hide thumbs Also See for ZXR10 8900 Series:
Table of Contents

Advertisement

ZXR10 8900 Series Command Manual (FW Volume)
Command
Function
Command Format
Parameter
Description
Example
Command
Function
Command Format
66
Confidential and Proprietary Information of ZTE CORPORATION

policy add

This command is used to customize one application protocol port
binding policy.
policy add name <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
add
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
To bind HTTP packets sent to subnet 192.168.0.0/255.255.0.0 with
destination port 8080, execute the following command:
# policy add name http net 192.168.0.0 mask
255.255.0.0 protocol tcp port 8080

policy modify

This command is used to modify one application protocol port bind-
ing policy.
policy modify id <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>]
Description
This adds one application protocol port
binding policy.
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.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents