beautypg.com

Defining generic filters, Settings in a local filter profile, Defining generic filters -7 – Lucent Technologies 6000 User Manual

Page 543: Settings in a local filter profile -7

background image

Defining Static Filters

Defining generic filters

MAX 6000/3000 Network Configuration Guide

15-7

Defining generic filters

Generic filters can match any packet, regardless of its protocol type or header fields. The filter
specifications operate together to define a location in a packet and a hexadecimal value to
compare to it.

Settings in a local Filter profile

In a local Filter profile, a generic filter uses the following parameters (shown with their default
values):

Input filters...

In filter NN

Generic...

Offset=0

Length=0

Mask= 00:00:00:00:00:00:00:00:00:00:00:00

Value=00:00:00:00:00:00:00:00:00:00:00:00

Compare=No

More=No

The same parameters are also available in the Output Filters subprofile. If you set the
parameters in an input filter, only inbound packets are examined. If you set them in an output
filter, only outbound packets are examined.

Parameter

Specifies

Offset

Byte-offset at which to start comparing packet contents to the
Value setting specified in the filter. For details, see “Specifying the
offset to the bytes to be examined” on page 15-9.

Length

Number of bytes to test in a packet, starting with the byte at the
specified Offset parameter. For details, see “Specifying the
number of bytes to test” on page 15-9.

Mask

A binary mask.The system applies the Mask to the value specified
by the Value parameter before comparing it to the bytes in a packet
specified by the Offset parameter. For details, see “Masking the
value before comparison” on page 15-10.

Value

A hexadecimal number to be compared to the packet data
identified by the Offset, Length, and Mask calculations. After you
have entered the number, the system enters a colon at the byte
boundaries.

Compare

Type of comparison to perform. If Compare is set to Yes, the
comparison succeeds (the filter matches) if the contents do not
equal the specified value. For a filter that requires the packet
contents to equal the specified value, leave Compare set to No.

This manual is related to the following products: