D-Link DAS-3224_revB Software Guide

Page of 69
錯誤!  尚未定義樣式。 
55 
Configuring the TCP Filtering Rule 
The TCP Filter allows you to configure the DAS3series to give exclusive access or exclude access up 
to 100 rules; you need to know the TCP Port number of the connection to configure this filtering rule. 
 
Table 10-3 
Configuring the TCP Port Filtering Rule 
Use this command to create the TCP Filtering rule. 
#create filter subrule tcp ruleid <ruleid> subruleid <subruleid> [srcportfrom portadd] [srcportto portadd
[dstportfrom 
portadd] [dstportto portadd] [srcportcmp eq | neq | lt | leq | gt | geq | any | inrange | exrange
[dstportcmp 
eq | neq | lt | leq | gt | geq | any | inrange | exrange] [subruleprio low | high | asinrule] 
Use this command to modify the TCP Filtering rule. 
#modify filter subrule tcp ruleid <ruleid> subruleid <subruleid> [srcportfrom portadd] [srcportto portadd
[dstportfrom 
portadd] [dstportto portadd] [srcportcmp eq | neq | lt | leq | gt | geq | any | inrange | exrange
[dstportcmp 
eq | neq | lt | leq | gt | geq | any | inrange | exrange] [subruleprio low | high | asinrule] 
Use this command to monitoring the TCP Filtering rule. 
#get filter subrule tcp [ruleid ruleid] [subruleid subruleid] 
Use this command to remove the TCP Filtering rule. 
#delete filter subrule tcp ruleid <ruleid> subruleid <subruleid> 
Parameters 
Task 
ruleid <ruleid> 
Unique identifier of a filter rule of which this subrule is being created. 
Recommend values: 1 ~ 100 
subruleid <subruleid> 
Unique identifier of a filter subrule. 
Valid values: 1 ~ 100 
[srcportfrom portadd
Start port number of the range of source port numbers. This field is invalid if ‘srcportcmp’ is ‘any’. 
This field and ‘srcportto’ specify a range of TCP source port numbers if ‘srcportcmp’ is either 
inrange or ‘exrange’. 
Default values: 0 
[srcportto portadd
End port number of the range of source port numbers. This field and ‘srcportform’ specify a range of 
TCP source port numbers if ‘srcportcmp’ is either ‘inrange’ or ‘exrange’. 
Default values: 65535 
[dstportfrom portadd
Start port number of the range of destination port numbers. This field is invalid if ‘dstportcmp is 
‘any’ This field and ‘dstportto’ specify a range of TCP destination port numbers if ‘dstportcmp’ is 
either ‘inrange’ or ‘exrange’. 
Default values: 0 
[dstportto portadd
End port number of the range of destination port numbers. This field and ‘dstportform’ specify a 
range of TCP destination port numbers if ‘dstportcmp’ is either ‘inrange’ or ‘exrange’. Otherwise this 
field is invalid. 
Default values: 65535 
[srcportcmp eq | neq | lt | leq | gt 
| geq | any | inrange | exrange
Source port comparison type. 
Default values: any 
[dstportcmp eq | neq | lt | leq | gt 
| geq | any | inrange | exrange
Destination port comparison type. 
Default values: any 
[subruleprio low | high | 
asinrule
This specifies the priority of the subrule. Based on this priority value, the subrule is created in fast or 
slow memory. In case priority is specified as ‘asinrule’, subrule priority will be same as specified in 
the rule. 
Default values: asinrule 
 
 
DAS3series IP-DSLAM 
System Configuration Guide