Planet Technology IDL-4800 Network Card User Manual


 
IDL series User Guide
442
Example:
$create filter subrule tcp ruleid 1 subruleid 2 srcportfrom 21 srcportto 23
dstportfrom 21 dstportto 23 srcportcmp inrange dstportcmp inrange subruleprio
high
Output:
Verbose Mode On
Entry Created
Rule Id : 1 Subrule Id : 2
Start source port : 21 End source port : 23
Start destination port : 21 End destination port : 23
Source port comparison : inrange Destination port comparison : inrange
Subrule Priority : high
Transport Header : Ethernet
Verbose Mode Off:
Entry Created
Output field:
Field Description
Rule Id
Unique identifier of a filter rule of which this sub rule is being created.
Subrule Id
Unique identifier of a filter subrule
Start source port
Start port number of the range of source port numbers. This field is
invalid if 'srcportcmp' is 'any'. This field and 'srcportto' specifiy a range of
tcp source port numbers if 'srcportcmp' is either 'inrange' or 'exrange'
End source port
End port number of the range of source port numbers. This field and
'srcportfrom' specifiy a range of tcp source port numbers if 'srcportcmp' is
either 'inrange' or 'exrange'
Start destination port
Start port number of the range of destination port numbers. This field is
invalid if 'dstportcmp' is 'any'. This field and 'dstportto' specifiy a range of
tcp destination port numbers if 'dstportcmp' is either 'inrange' or 'exrange'
End destination port
End port number of the range of destination port numbers. This field and
'dstportfrom' specifiy a range of tcp destination port numbers if
'dstportcmp' is either 'inrange' or 'exrange'.Otherwise this field is invalid
Source port
comparison
Source port comparison type
Destination port
comparison
Destination port comparison type
Subrule Priority
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