
405
8.13.33.4 Modify filter subrule ip
Description: Use this command to modify.
Command Syntax: modify filter subrule ip ruleid <ruleid-val >
subruleid <subruleid-val > [ srcipaddrfrom <srcipaddrfrom-val > ]
[ srcipaddrto <srcipaddrto-val > ] [ dstipaddrfrom <dstipaddrfrom-val
> ] [ dstipaddrto <dstipaddrto-val > ] [ prototypefrom <prototypefrom-
val > ] [ prototypeto <prototypeto-val > ] [ srcaddrcmp eq | neq | lt |
leq | gt | geq | any | inrange | exrange | ingenlist | notingenlist ]
[ dstaddrcmp eq | neq | lt | leq | gt | geq | any | inrange | exrange |
ingenlist | notingenlist ] [ prototypecmp eq | neq | lt | leq | gt | geq |
any | inrange | exrange ] [ ipsrcaddrmask <ipsrcaddrmask-val> ]
[ ipdstaddrmask <ipdstaddrmask-val> ] [ subruleprio low | high |
asinrule ] [ transporthdr ethernet | pppoe ] [ tosfrom <tosfrom-val> ]
[ tosto <tosto-val> ] [ tosmask <tosmask-val> ] [ toscmp eq | neq | lt
| leq | gt | geq | any | inrange | exrange ]
Parameter
Name Description
ruleid <ruleid-val>
Unique identifier of a filter rule of which this sub
rule is being created.
Type: Create - Mandatory
Delete - Mandatory
Modify - Mandatory
Get - Optional
Valid values: 1 - 65535
subruleid <subruleid-
val>
Unique identifier of a filter subrule.
Type: Create - Mandatory
Delete - Mandatory
Modify - Mandatory
Get - Optional
Valid values: 1 - 4294967295
srcipaddrfrom
<srcipaddrfrom-val>
Start source IP address of the range of source IP
addresses. This field is invalid if 'srcaddrcmp' is
'any', 'ingenlist' or 'notingenlist'. This field and
'srcipaddrto' specify a range of source IP
addresses if 'srcaddrcmp' is either 'inrange' or
'exrange'.
Type: Create - Optional
Modify - Optional
Default value: 0.0.0.0
srcipaddrto
<srcipaddrto-val>
End source IP address of the range of source IP
addresses. This field and 'srcipaddrfrom' specify
a range of source IP addresses, if 'srcaddrcmp' is
either 'inrange' or 'exrange'. Otherwise this field is
invalid.
Type: Create - Optional
Modify - Optional
Default value: 255.255.255.255
dstipaddrfrom
<dstipaddrfrom-val>
Start destination IP address of the range of
destination IP addresses. This field is invalid if
'dstaddrcmp' is 'any', 'ingenlist' or 'notingenlist'.
This field and 'dstipaddrto' specify a range of
destination IP addresses, if 'dstaddrcmp' is either
'inrange' or 'exrange'.
Type: Create - Optional
Modify - Optional
Default value: 0.0.0.0
dstipaddrto
<dstipaddrto-val>
End destination IP address of the range of
destination IP addresses. This field and
'dstipaddrfrom' specifiy a range of destination IP
addresses, if 'dstaddrcmp' is either 'inrange' or
'exrange'. Otherwise this field is invalid
Type: Create - Optional
Modify - Optional
Comentarios a estos manuales