The text of a manual · part 11 of 33
MobileLAN access System Manual: Chapter 3 - Configuring the Ethernet Network, pages 85 to 92
Pages 85 to 92 of 281, from MobileLAN access System Manual
The original document is the PDF (11 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 2102
Page 85
Chapter 3, Configuring the Ethernet Network
Setting Filter Values You can associate an ID with a pattern value by selecting a filter, and then entering an ID and a value. All values with the same value ID belong to the same list. To set the value ID and value 1 From the main menu, click Ethernet, and then click Advanced Filters. The Filter Values screen appears.
2 Enter up to 22 value IDs and values. 3 Click Submit Changes to save your changes. To activate your changes, from the menu bar click Save/Discard Changes, and then click Save Changes and Reboot. For help, see “Saving Configuration Changes” in Chapter 1.
Setting Filter Expressions You can set filter expressions by specifying parameters for frame filters. You can also create a filter expression, which is executed in ascending order based on the ExprSeq values until the access point determines whether to pass or drop the frame. To set filter expressions 1 From the main menu, click Ethernet, and then click Advanced Filters. 2 Click Filter Expressions. The Filter Expressions screen appears.
MobileLAN access System Manual
71
Page 86
Chapter 3, Configuring the Ethernet Network
3 Configure the filter expressions parameters. For help, see the next table. 4 Click Submit Changes to save your changes. To activate your changes, from the menu bar click Save/Discard Changes, and then click Save Changes and Reboot. For help, see “Saving Configuration Changes” in Chapter 1. Filter Expressions Parameter Descriptions Parameter
Explanation
ExprSeq (Expression Sequence)
Indicates the order in which the filters will be executed. When you change the parameter, the statements are reordered and renumbered so the Expression Sequence order is maintained. The range is from 0 to 255. This parameter works with the Action parameter; for example, if the action is set to And, then the next sequence in another expression is processed.
72
Offset
Identifies a point inside the frame where testing for the expression is to start. The range is from 0 to 65535.
Mask
Applies a data pattern to the frame. If the data pattern in the mask matches the frame, then the specific action is performed. The mask indicates the bits that are significant at the specified offset. A bit is significant if a bit in the mask is set to one. If this field is empty, the length of the field is determined by the longest value in the Filter Values menu for the specified value ID. The mask values are entered in hexadecimal pairs. You can enter 0 to 8 pairs.
Op (Operation)
Performs a logical operation when a data pattern matches a value in the Filter Values menu to determine if the specified action should be taken. Valid operations include: EQ (equal), NE (not equal), GT (greater than), LT (less than or equal)
MobileLAN access System Manual
Page 87
Chapter 3, Configuring the Ethernet Network
Filter Expressions Parameter Descriptions (continued) Parameter
Explanation
Value ID
Represents a value in the Filter Values menu. The bytes after the frame offset are compared to the data pattern indicated by the value. Value ID can be from 0 to 255 and must match one or more value IDs in the Filter Values menu.
Action
Sets the action to Pass, Drop, or And. If you set the action to And, the filter expression with the next highest sequence is applied.
Example 1 This example shows you how to use Ethernet filters to filter all traffic that passes through the access point to the wireless network except for traffic for specified MAC addresses. These filters do not prevent wireless traffic from reaching the Ethernet network. For this example, set these filter values.
Example 1 - Filter Values Value ID
Value
Description
1 ff ff ff ff ff ff
Allows multicast traffic to enter the wireless network, which is necessary for IP end devices to communicate
2
00 02 2d 04 b7 a4
The MAC address of an end device you want to be able to communicate.
3
00 02 2d 0d 54 25
The MAC address of an end device you want to be able to communicate.
MobileLAN access System Manual
73
Page 88
Chapter 3, Configuring the Ethernet Network
For this example, set these filter expressions.
Example 1 –Filter Expressions Parameter
Value
Explanation
ExprSeq
10
The order that you want the expressions executed. You must have an expression for each Value ID that is listed in the Filter Values menu.
Offset
0
Since the filter is applied to the destination address, which is the first value in the frame, the offset is 0.
Mask ff ff ff ff ff ff
Compares the entire 6-byte destination address for an exact match.
Op
EQ
Compares the value after the offset and mask are applied to the value of the Value ID from the Filter Values menu to see if they are equal. (If the value at the offset equals the specified value on the Filter Values menu, the frame is multicast.)
Value ID
1
This filter expression applies to value ID 1 from the Filter Values menu.
Action
Pass
If this filter expression is true, continue to the next expression.
You must enter a filter expression for each Value ID in the Filter Values menu. In this example, only the ExprSeq value and the Value ID value change.
74
MobileLAN access System Manual
Page 89
Chapter 3, Configuring the Ethernet Network
Example 2 This example shows how to use Ethernet filters to discard all DIX IP multicast frames except those from selected devices. Three entries have a value ID of 3 to demonstrate how to enter a list. All entries with the same value ID belong to the same list. For this example, set these filter values.
Example 2 - Filter Values Value ID
Value
Description
1
08 00
Check for a DIX IP frame.
2
01
Check for a multicast frame.
3
00 c0 b2 00 00 01 00 c0 b2 00 00 02 00 c0 b2 00 00 03
Check for these specific MAC device addresses.
You must enter a filter expression for each Value ID in the Filter Values menu. In this example, three expressions combine to form a single compound expression. The compound expression forms an advanced filter that drops all DIX IP multicast frames except those from the three Ethernet stations whose addresses are listed on the Filter Values menu. The default action is the opposite of the action specified in the last expression. In this example, the action of the last expression is drop; therefore, the default action is pass. Any frame that meets the conditions specified in the advanced filter is passed.
MobileLAN access System Manual
75
Page 90
Chapter 3, Configuring the Ethernet Network
Set the first filter expression as shown below.
Example 2 – First Filter Expression
76
Parameter
Value
Explanation
ExprSeq
1
The first expression that is executed. You must have an expression for each Value ID that is listed in the Filter Values menu.
Offset
0
Since the filter is applied to the destination address, which is the first value in the frame, the offset is 0.
Mask
01
Checks only the Ethernet multicast bit.
Op
EQ
Compares the value after the offset and mask are applied to the value of the Value ID from the Filter Values menu to see if they are equal. (If the value at the offset equals the specified value on the Filter Values menu, the frame is multicast.)
Value ID
2
This filter expression applies to value ID 2 from the Filter Values menu.
Action
And
If this filter expression is true, continue to the next expression.
MobileLAN access System Manual
Page 91
Chapter 3, Configuring the Ethernet Network
Set the second filter expression as shown below.
Example 2 – Second Filter Expression Parameter
Value
Explanation
ExprSeq
2
The second expression that is executed.
Offset
12
Checks for the DIX IP frame type, which starts 12 bytes from the destination address.
Mask ff ff
Checks the 2-byte DIX IP frame type for an exact match.
Op
EQ
Compares the value after the offset and mask are applied to the value of the Value ID from the Filter Values menu to see if they are equal. (If the value at the offset equals the specified value on the Filter Values menu, the frame is DIX IP.)
Value ID
1
This filter expression applies to value ID 1 from the Filter Values menu.
Action
And
If this filter expression is true, continue to the next expression.
MobileLAN access System Manual
77
Page 92
Chapter 3, Configuring the Ethernet Network
Set the third filter expression as shown below.
Example 2 – Third Filter Expression
78
Parameter
Value
Explanation
ExprSeq
3
The third expression that is executed.
Offset
6
Checks the source Ethernet address, which starts 6 bytes from the destination address.
Mask ff ff ff ff ff ff
Checks the 6-byte source Ethernet address for an exact match.
OP
NE
Compares the value after the offset and mask are applied to the value of the Value ID from the Filter Values menu to see if they are not equal. (Compare the source Ethernet address with the list of MAC addresses from the Filter Values menu.)
Value ID
3
This filter expression applies to value ID 3 from the Filter Values menu.
Action
Drop
If the source Ethernet address does not match any address in the list on the Filter Values menu, then drop the frame.
MobileLAN access System Manual