Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 18 of 25

Using the Cisco Aironet 340 Series Wireless Bridges: Using Filters, pages 147 to 154

Pages 147 to 154 of 218, from Using the Cisco Aironet 340 Series Wireless Bridges

The original document is the PDF (1.8 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 Cisco 340 Bridge

Page 147

Using Filters 11 - 9

Setting the Default Action (Default) The default action is used for a packet whose protocol does not match any entry found in the table. It may be set to:

n

Off: Protocol filtering is not done. It is a waste of processing power for the unit to examine each packet for its protocol only to discover no protocols need monitoring.

n

Discard: The packet will not be forwarded out the radio network.

n

Forward: The packet will be forwarded out the radio network.

n

Accesspt: The packet will only be forwarded to other bridges and not to the client nodes.

n

Nonpsp: The packet will be forwarded out the radio network to nonpower saving end nodes and not to any nodes using PSP.

Displaying the Filters (Display) Use the display option to view the list of protocol filters you have added. PROTOCOL FILTERS ----------LLC--------- Masks Name

Action

Protocol

SAPs

OUI

Protocol

-------------- --------

--------

---- ------

---------

1. novell discard

2. novell discard

8137 aaaa

000000

8137

3. Ethertalk discard aaaa

080007

809b

4. IPX-RIP discard ffff

18- 0453, 0

Enter space to redisplay, q[uit]:

Name: The name assigned to the protocol. Action: The action that has been assigned for each protocol. Protocol and LLC: The protocol header. Masks: A bit mask applied to the packet that must match the packet contents before the protocol is identified. The mask is displayed in the following form: 18- (start position), 0453 (value), 0 (don’t care mask)

Page 148

11 - 10

Aironet 340 Series Bridge

Adding A Filter (Add) Use the add option to add a protocol filter and specify the type of action required. There are several ways to add a filter:

n

Predefined filter n

Manually add all the data n

Use an entry from the monitor table built by the unit

Í To Add a Predefined Filter 1. Select the add option. 2. Select one of the predefined strings: inet, novell, or netbios. The inet filter adds filters for both the IP and ARP protocols. The novell filter adds filters for all the types of allowed novell protocol headers. 3. You will then be prompted for the action to take when the protocol is encountered. Enter one of the actions described under the default setting above, with the exception of “Off”. The following display shows the results if all predefined filters were added. ----------LLC--------Name

Action

Protocol

SAPs

OUI

Protocol

-------------- --------

--------

---- ------

---------

1. novell discard

2. novell discard

8137 aaaa

3. novell discard ffff

4. novell discard

5. inet forward

6. inet forward

7. inet forward

8. inet 9. netbios

000000

8137 aaaa

000000

0800 forward aaaa

000000

0806 forward f0f0 e0e0 0800 0806

Page 149

Using Filters 11 - 11

Í To Add a Filter Using the Monitor If protocol monitoring has been enabled, once you select the add command, the current monitor table will be displayed. To select a monitored protocol: 1. Enter the number displayed at the start of each line of the monitor display. 2. If the monitored protocol was un-recognized and was not given a name, you will be prompted to assign a name. 3. You will be prompted for the action to take when the protocol is encountered. Enter one of the actions described under the default setting above, with the exception of “Off”.

Í To Add a Filter Manually: To start adding a filter manually: 1. Enter the add command and give the filter a name that does not start with a number and does not match one of the pre-defined names. 2. You will be prompted for the action to take when the protocol is encountered. Enter one of the actions described under the default setting. You may also enter the value log, which if chosen, the packet is not filtered, and the contents of the data portion of the packet are displayed in an information log. See “Length of Data Displayed in Log Action (Length)”. If you choose the action high_priority then packets that match the filter will be placed on a special queue and will be transmitted before lower priority packets. 3. Choose whether the protocol is defined by an Ethernet protocol identifier or by an LLC header. If you type “protocol”: a.

The following prompt appears: Enter a value in hex from 200h to ffffh :

b.

Type the value for the protocol identifier to be filtered and press ENTER. Enter one of [a mask start position, none] :

Page 150

11 - 12

Aironet 340 Series Bridge

This allows you to specify a bit mask and corresponding hexadecimal value to be applied to the packet. These two values must match the packet contents before the protocol is identified. You must first specify a mask start position in the packet and match the mask value. The mask start position value should be a 0-based byte offset from the start of the data portion of the frame (after the MAC layer header). If you set the position to “none”, no mask is tested. c.

Type a mask start position value (or “none”, if applicable) and press ENTER. Enter a hex value of 1 to 30 characters :

d.

Type the value to be matched as a string of up to 30 hexadecimal digits and press ENTER. If the numbered digits is odd, the mask value will be adjusted to ignore the low 4 bits of the corresponding byte. Enter a hex don’t care mask of 1 to 6 characters :

This allows you to enter a string of hexadecimal digits to indicate which bits of the packet data are meaningful. A bit set in this value causes the corresponding bit in the packet to be ignored. Therefore, a 0 mask means that the packet contents must exactly match the previous value entered. If the mask entered is shorter than the value entered it is automatically extended to the correct length with zeros. e.

Type the applicable hexadecimal digits and press ENTER. For example, to enter a mask that matches the value 4128H in the 16th byte data portion of the packet and have the high bit of each byte ignored, complete as follows: Enter one of [a mask start position, none] : 15 Enter a hex value of 1 to 30 characters : 4128 Enter a hex don’t care mask of 1 to 4 characters : 8080

Page 151

Using Filters 11 - 13

If you type llc: a.

When you select llc, the following prompt appears: Enter a value in hex of ffffh or less :

b.

Type a 16 bit value for the DSAP/SSAP combination (with the DSAP being in the high 8 bits) and press ENTER. Enter one of [a OUI value in hex of ffffffh or less, any] :

This is used to specify an OUI value to further refine the protocol identification. If you enter “a OUI value in hex of ffffffh or less”, it must match the protocol field in addition to the SAP value. If you enter “any”, the protocol values are not checked and the protocol is defined only by the SAP values. c.

Type the applicable OUI value or “any” and press ENTER. If you typed an OUI value, the following appears: Enter one of [a LLC protocol value in hex of ffffh or less, any] :

This is used to specify a LLC protocol identifier. If you enter “a LLC protocol value in hex of ffffh or less”, it must match the protocol field in addition to the SAP and OUI values. If you enter “any”, the protocol values are not checked and the protocol is defined only by the SAP and OUI values. d.

Type the applicable LLC protocol value or “any” and press ENTER.

e.

You will be prompted for a mask description as described in the protocol section above.

Page 152

11 - 14

Aironet 340 Series Bridge

Adding IP protocol Sub-Filters Once you have added a filter for the IP protocol you may also filter packets based on their UDP or TCP port number, their IP sub-protocol (i.e., UDP/TCP/ICMP) or based on an IP address range. To filter based on an IP sub- protocol use add ip_subprotocol. You are then prompted as to whether you want to filter tcp or udp or another protocol based on its ID number. Finally you are prompted for a filter action as in the other manual filters. To filter based on port number use add ip_port. You are prompted as to whether you want to filter a TCP or UDP source or destination port. You are then prompted for the port number and the action associated with it. To filter based on an IP address range use add ip_address. You are prompted as to whether you want to filter a source or destination address and then for an IP address and address mask and a filter action. The filter matches if the value of both the packet address and the filter address ANDED with the filter mask are equal.

Removing an Entry (Remove) Use the remove option to remove a protocol filter entry. You may either remove all filters by entering the keyword “all” or a single entry by entering the number assigned to the filter and shown at the start of the line in the filter display.

Length of Data Displayed in Log Action (Length) Use the length option to display the contents of packets being forwarded to the radio. Use this option to setup the filter mask values to properly narrow down which packets are filtered. If you add a protocol filter whose action is “log,” each time the filter matches, the contents of the data portion of the packet (after the MAC header) will be displayed on the console (in hexadecimal ) for a length in bytes determined by the value of this option.

Page 153

Using Filters 11 - 15

The contents of the data portion displayed in the information log will consist of:

n

“p” n

Id number of the filter shown on the Protocol Filters screen n

Bytes of the packet displayed in hexadecimal

More than one protocol at a time can be set with a filter action of “Log”. The following is an example of a protocol filter log entry: p2: 01 e0 ff ff 01 eo 00 04 00 00 01 65 ff ff ff ff ff ff 04 52 00 00

Protocol Monitoring (Monitor/ Show/ Clear) The Aironet 340 Series Bridge allows you to create and display a list of the protocols currently being forwarded by the unit. This allows you to test if packets that contain data for unused protocols are being forwarded to the radio nodes. Once enabled by the monitor option, the Aironet 340 Series Bridge will then begin to examine the protocol used in each packet forwarded. If the protocol is not already in the list, an entry is created. Otherwise, the packet count for the given protocol is incremented. The show option will display the list of currently forwarded protocols. PROTOCOLS FOUND --------LLC---------Name

Source

Count Protocol

--------------- ------- --------- -------1. IP

RadLan

7207

0800

2. ARP

RadLan

782

0806

3. NetBIOS

Lan

39

4. ARP

RadLan

63

5. DEC MOP

Lan

3

SAPs

OUI

Protocol

---- ------- -------- f0f0 aaaa

000000

0806

6002

Enter space to redisplay, C[lear stats], q[uit] :

n

Name: If the protocol is recognized, it will be given a name. Otherwise, the name field is left blank.

Page 154

11 - 16

Aironet 340 Series Bridge n

Source: This will contain the string “Rad” if a packet was received from the radio and “Lan” if a packet was received from the wired LAN.

n

Count: Displays the number of times a packet with the given protocol was encountered.

n

Protocol and LLC: The protocol header found.

You may clear the list of found protocols either with the “clear” command or by entering a “C” (case sensitive) at the re-display prompt of the “show” command.