beautypg.com

Generic filter rule, 4 generic filter rule – ZyXEL Communications Prestige 642R Series User Manual

Page 109

background image

Prestige 642R Series ADSL Router

Filter Configuration

8-13

8.2.4 Generic Filter Rule

This section shows you how to configure a generic filter rule. The purpose of generic rules is to allow you
to filter non-IP packets. For IP, it is generally easier to use the IP rules directly.
For generic rules, the Prestige treats a packet as a byte stream as opposed to an IP or IPX packet. You
specify the portion of the packet to check with the Offset (from 0) and the Length fields, both in bytes. The
Prestige applies the Mask (bit-wise ANDing) to the data portion before comparing the result against the
Value to determine a match. The Mask and Value are specified in hexadecimal numbers. Note that it takes
two hexadecimal digits to represent a byte, so if the length is 4, the value in either field will take 8 digits,
e.g., FFFFFFFF.
To configure a generic rule, select Generic Filter Rule in the Filter Type field in the Menu 21.6.1 and press
[ENTER] to open the Generic Filter Rule Menu, as shown below:

Figure 8-11

Generic Filter Rule

The following table describes the fields in the Generic Filter Rule Menu.

Table 8-6

Generic Filter Rule Menu Fields

Field

Description

Option

Filter #

This is the filter set, filter rule co-ordinates, i.e., 2,3 refers to the second
filter set and the third rule of that set.

Filter Type

Use [SPACE BAR] to toggle between both types of rules. Parameters
displayed below each type will be different.

Generic
Filter Rule/
TCP/IP
Filter Rule

Active

Select Yes to turn on the filter rule.

Yes/No

Menu 21.6.1 - Generic Filter Rule

Filter #: 6,1
Filter Type= Generic Filter Rule
Active= No
Offset= 0
Length= 0
Mask= N/A
Value= N/A
More= No Log= None
Action Matched= Check Next Rule
Action Not Matched= Check Next Rule

Press ENTER to Confirm or ESC to Cancel:

Press Space Bar to Toggle.