P782M G.SHDSL Bridge
6.3
Generic Filter Rule
The purpose of generic rules is to allow you to filter non-IP packets. For generic rules, the Prestige treats a
packet as a byte stream as opposed to an IP 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.
Two hexadecimal digits represent a byte, so if the length is 4, the value in either field will take 8 digits, e.g.,
FFFFFFFF.
6.3.1 Example Generic Filter Rule Configuration
Step 1.
Type a filter set number in Menu 21 — Filter Set Configuration, ("5" in this example), and
press [ENTER] to display menu 21.5.
Step 2.
Type a filter rule number in Menu 21.5 — Filter Rules Summary, ("1" in this example), and
press [ENTER] to display Menu 21.5.1 — Generic Filter Rule (shown next).
Press Space Bar to Toggle.
The table, shown next, describes the fields in Menu 21.5.1
6-6
Table 6-2 Rule Abbreviations Used
FILTER TYPE
GEN
Off
Offset
Len
Length
Menu 21.5.1 - Generic Filter Rule
Filter #: 5,1
Filter Type= Generic Filter Rule
Active= No
Offset= 0
Length= 0
Mask= N/A
Value= N/A
More= No
Action Matched= Check Next Rule
Action Not Matched= Check Next Rule
Press ENTER to Confirm or ESC to Cancel:
Figure 6-5 Menu 21.5.1
DESCRIPTION
Log= None
Generic Filter Rule
—
Generic Filter Rule.
—
Filter Set Configuration