The text of a manual · part 17 of 25
Using the Cisco Aironet 340 Series Wireless Bridges: Using Filters, pages 139 to 146
Pages 139 to 146 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 139
Chapter 11 - Using Filters
11 CHAPTER 11
Using Filters This chapter describes how to control the forwarding of multicast messages. Here’s what you’ll find in this chapter:
n
Overview n
Using the Filter Menu n
Filtering Multicast Addresses n
Filtering Node Addresses n
Filtering Protocols
Page 140
11 - 2
Aironet 340 Series Bridge
Overview If your Aironet 340 Series Bridge is connected to an infrastructure with a large amount of multi-protocol traffic, you may be able to reduce the amount of radio traffic by blocking out (filtering) those addresses or protocols that are not needed. This filtering is especially important for battery operated radio nodes which might otherwise have to waste considerable battery power receiving multicast messages which are not relevant and will only be discarded.
Using the Filter Menu The Filter Menu is used to control the forwarding of data packets. To access this menu, select Filter from the Main Menu. Filter Menu Option
Value
1 - Multicast
[ menu ]
- Multicast address filtering
Description
2 - Node
[ menu ]
- Node address filtering
3 - Protocols
[ menu ]
- Protocol filters
4 - Direction
[ both ]
- Packet direction affected by filters
Enter an option number or name, “=” main menu, <ESC> previous menu >_
NOTE: In order to achieve consistent performance on your infrastructure, any configurations that you set in the Filter Menu should be duplicated on all Aironet 340 Series Bridges. This maintains consistency as nodes roam.
Packet Direction (Direction) Use the direction options to control the direction a packet is traveling before affected by the filters.
n
To_radio: Only packets from the LAN will have filters applied. Packets from the radio will not be filtered. This options reduces the amount of LAN traffic to the radio network.
Page 141
Using Filters 11 - 3 n
Both: Packets in both directions will be filtered. This option allows control of the type of traffic the radio nodes may use.
Filtering Multicast Addresses (Multicast) The multicast menu allows you to control the filtering of multicasts based on the actual multicast address. When you select the Multicast option the Filter Multicast Menu appears. Filter Multicast Menu Option
Value
1 - Default
[ forward
Description ]- Default multicast action
2 - Show
- Display the multicast filters
3 - Add
- Add a multicast address filter
4 - Remove
- Remove a multicast address filter
5 - Radio_mcst[ everywhere ]- Where to forward multicasts from radio Enter an option number or name, “=” main menu, <ESC> previous menu >_
Setting the Default Action (Default) The default option controls the filtering of multicasts whose address is not in the table. You may pick one of the following actions:
n
Discard: Multicasts with no table entries will not be forwarded out the radio network.
n
Forward: Multicasts with no table entries will be forwarded out the radio network.
n
Accesspt: Multicasts with no table entry will only be forwarded to other access points and bridges, not to the client nodes.
n
Nonpsp: Multicasts with no table entries will be forwarded out the radio network to non-power saving end nodes, not to any nodes using the PSP.
Displaying The Filters (Show) Use the show option to display the multicast filters. When you select the show option the Multicast Filters screen appears.
Page 142
11 - 4
Aironet 340 Series Bridge
The filters are stored in the association table. The display of the multicast filters follows the format of the normal association display. At the end of each line the filter action for each address will be displayed. This same display may also be produced with the “association display” command with either the “all” or “multicast-filters” information. See Chapter 10 “Setting Up the Association Table”. MULTICAST FILTERS Address
Device
Type
Parent
Name
------------- --------- ---- ------------ -----------------N010203040506
Mcst forward
Adding A Multicast Filter (Add) Use the add option to add a multicast filter if there are special multicast addresses you want to filter differently than the default. You will first be prompted for the address and then for an action to be applied to this address only.
Removing a Filter (Remove) Use the remove option to remove one or all of the non-default filters. The action for the removed entries will revert to the default action.
Filtering Radio Multicasts (Radio_Mcast) If you know that the radio nodes are not going to communicate with each other, but will only communicate with nodes on the wired LAN, set this parameter to “lan_only”. With this setting multicasts received from the radio nodes are not re-broadcast to the radio cell but are forwarded to the wired LAN. For example, if you have a system with a large number of radio clients which only talk to the network server, enabling multicast filtering will result in much less radio traffic congestion. If the parameter is left at the default setting of “everywhere”, then radio nodes may broadcast to each other.
Page 143
Using Filters 11 - 5
Filtering Node Addresses (Node) The node option allows you to control the forwarding of packets based on the source node addresses. As with multicast filtering, there is a default action for those addresses not in the table. You may enter actions for specific addresses to override the default action. Specific node filters may be entered by specifying either the 6 byte infrastructure address of the node or by specifying its IP address. If the IP address is used, the Aironet 340 Series Bridge will determine the infrastructure address associated with the IP address and use this for the actual filtering. You may filter packets based on the source address in the received packet. For example, if you wanted to prevent all but a limited number of hosts to communicate with nodes on the radio network, you would set the default action to discard. Then add entries for the specific hosts whose action is “forward”. Filter Node Menu Option
Value
Description
1 - Ethdst
[ forward ]
- Destination address from ethernet
2 - Raddst
[ forward ]
- Destination address from radio
3 - Source
[
- Source addresses off
]
4 - Display
- Display the node address filters
5 - Ipdisplay
- Display the IP address filters
6 - Add
- Add a node address filter
7 - Remove
- Remove a node address filter
Enter an option number or name, “=” main menu, <ESC> previous menu >_
Setting the Destination Address (Ethdst and Raddst) The unit is always performing filtering based on the destination MAC address of the packets it receives. The Bridge will learn where a node is based on the source address of received packets and then can make a decision as to whether to forward a packet based on its knowledge of the location of the node. These options set the default actions when doing destination address filtering. The Ethdst value specifies the default action for packets received on the ethernet. The Raddst action specifies the default action for packet received on the radio interface. The value allowed are discard or forward.
Page 144
11 - 6
Aironet 340 Series Bridge
Setting the Default (Source) Source address filtering is “Off” by default. This saves processing power since the unit has to look up the source address of each incoming packet to see if a filter is to be applied. Before any individual source filters can be made active, one of the other values for the default must be chosen. You may set the action to off, forward or discard.
Setting Specific Node Address Filters (Add/Remove) Use the add option to add filters for specific addresses to the filter table. You will be prompted for the infrastructure address or IP address of the node to which the filter applies. You are then asked whether this is a source address, radio destination address or ethernet destination address filter. Finally you are be asked for the filter action to be applied to this address which may be off (for remove the filter), forward or discard. To remove one or all specific node filters use the remove option. You may enter either the keyword “all”, a single nodes infrastructure address, or a single node’s IP address. Once removed, the filter action for the removed addresses will revert to the default value.
Displaying The Node Address Filters (Display) Use the display option to view the table of controlled addresses. The filters are stored in the association table so that they may be accessed quickly. The display of the filters follows the format of the normal association display. At the end of each line the filter action for each address will be displayed. This same display may also be produced using the “association display” command with either the “all” or “multicast-filters” information. See Chapter 10 “Setting Up the Association Table”. NODE FILTERS Address
Device
Type
Parent
Name
Src
------------- --------- ---- ------------ ------------------ --N000102030405
Unkwn
Enter space to redisplay, q[uit]:
Fwd
Page 145
Using Filters 11 - 7
Displaying the IP to Network Address Table (IPdisplay) When a node address filter is entered by IP address, the Aironet 340 Series Bridge first determines the infrastructure address associated with this IP address. The actual filtering is done based on the infrastructure address. IP ADDRESS FILTERS IP Address
MAC Address Src
--------------- ------------ --149.023.165.186
004096206892 Fwd
Enter space to redisplay, q[uit]:
Filtering Protocols (Protocols) Protocol filtering bases the filtering decision on the type of protocol used to encapsulate the data in the packet. This type of filtering can have the most value in almost all situations and is the preferred method of filtering. With this type of filtering you may set the Aironet 340 Series Bridge to only forward those protocols, over the radio, that are being used by the remote radio nodes. Selecting protocols is easier than setting up filters based on addresses. The Aironet 340 Series Bridge may be set up to monitor and record the list of protocols currently being forwarded over the radio. It will record the protocols found, how may packets were encountered and whether the packet came from the LAN or the radio. To set up the protocol filters, start the monitor and let it run for a while under normal use. Add filters by selecting the protocols from the monitor list. There is a default action for those protocols not in the list of explicitly filtered protocols. If you know exactly which protocols are going to be used by the radio nodes, set the default action to discard and add filters to forward only those protocols that will be used. If you are not sure of all the protocols that will be used but you know that there are certain protocols you will not use, you would set the default to forward and add filters to discard only those protocols you will not use. For filtering purposes the bridge assumes that the data portion of the packets is in one of two forms:
Page 146
11 - 8
Aironet 340 Series Bridge n
The first 16 bits of the data portion contains a value that is greater than the maximum data size (1518). The value is assumed to be a protocol identifier that may be used to determine which protocol is being used within the packet.
n
The first 16 bits of the data portion contains a value that is less than the maximum data size. The value is interpreted as a frame length and it is assumed that a IEEE 802.2 Logical Link Control (LLC) header follows the length.
The format of the LLC header is as follows: DSAP, 8 bits, Destination Service Access Point (DSAP) SSAP, 8 bits, Source Service Access Point (SSAP) CTL, 8 bits, Control field If the control field has a value 3 (for an un-numbered information frame), then this header may be followed by: OUI, 24 bits, Organization Unique Identifier (OUI) SAP-PROT, 16 bits, Protocol Identifier You may set up filters based on either a protocol identifier or a DSAP/ SSAP combination. If the filter is based on SAPs and the control field has a value of 3, the packet may also be optionally filtered based on the OUI and LLC protocol fields. Both types of filters may also use a variable length bit mask of the packet contents to further specify which packets should be filtered.
Filter Protocols Menu Option 1 - Default
Value [ off
Description ]
- Default action
2 - Display
- Display the protocol filters
3 - Add
- Add a protocol filter
4 - Remove
- Remove a protocol filter
5 - Length
[
22
]
- Length of packet data to log
6 - Monitor
[ off
]
- Protocol monitoring enabled
7 - Show
- Show forwarded protocol list
8 - Clear
- Clear forwarded protocol list
Enter an option number or name, “=” main menu, <ESC> previous menu >_