ZyXEL Communications P-870HW-I User Manual
P-870HW-I1 User’s Guide
296
Chapter 30 Filter Setup
For generic rules, the ZyXEL Device 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 ZyXEL Device 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, for example,
FFFFFFFF.
IPX packet. You specify the portion of the packet to check with the Offset (from 0) and the
Length fields, both in bytes. The ZyXEL Device 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, for example,
FFFFFFFF.
To configure a generic rule, select Generic Filter Rule in the Filter Type field in menu
21.1.1.1 and press [ENTER] to open Generic Filter Rule, as shown below.
21.1.1.1 and press [ENTER] to open Generic Filter Rule, as shown below.
Figure 186 Menu 21.1.1.1 Generic Filter Rule
The following table describes the fields in the Generic Filter Rule menu.
Menu 21.1.4.1 - Generic Filter Rule
Filter #: 4,1
Filter Type= Generic Filter Rule
Active= Yes
Offset= 0
Length= 3
Mask= ffffff
Value= 01005e
More= No Log= None
Action Matched= Drop
Action Not Matched= Forward
Filter Type= Generic Filter Rule
Active= Yes
Offset= 0
Length= 3
Mask= ffffff
Value= 01005e
More= No Log= None
Action Matched= Drop
Action Not Matched= Forward