|
Configuring IPX SAP FiltersThe IPX Service Advertising Protocol (SAP) allows service-providing nodes such as file servers, printer servers, and gateway servers to advertise their services and addresses. Shiva® devices use SAP to create and maintain a database of internetwork service information. The SAP database can contain thousands of SAP entries, all of which might need to be broadcast to other servers and routers. SAP filtering allows a Shiva device to include or exclude SAP entries in the SAP database based on a combination of one or more of the following: hop count, service type, and server name. The following are some reasons that you may want to configure IPX SAP filters on your Shiva devices:
Note: You must configure IPX SAP filters manually, that is, by editing the device configuration file using the command shell or the text-editing feature of Shiva Configurator. Creating and Using IPX SAP FiltersTo create and use IPX SAP filters, you must:
Setting Parameters in the [Netware] SectionTo use SAP filtering, you must configure the following parameters in the [Netware] section: [Netware] Creating IPX SAP FiltersYou can create named SAP filters in the [IPXSAPFilters] section of the configuration file. See IPXSAPFilters Section. Applying IPX SAP FiltersYou may apply named or unnamed IPX SAP filters to physical and logical interfaces and to LAN-to-LAN users and sites as described in the following paragraphs. An unnamed IPX SAP filter has the same format as a named IPX SAP filter, but it is defined directly in the IPXSAPFilterIn or IPXSAPFilterOut parameters or directly in the /sfo or /sfi option of a user definition in the [Users] section. CAUTION: IPX SAP filters on inbound packets may prevent the Shiva device from transmitting specific SAP entries. For example, if inbound filtering does not permit print server SAP entries to be stored in the Shiva device SAP table, the Shiva device cannot transmit a SAP response with a print server type. Applying Default Inbound and Outbound SAP FiltersUsing the IPXSAPFilterIn parameter in the [Netware] section, you may apply a default inbound IPX SAP filter. This default inbound filter is an ordered list of named or unnamed IPX SAP filters used to filter packets received on all physical and logical interfaces (Ethernet or phone group) as well as on all LAN-to-LAN users and sites. Using the IPXSAPFilterOut parameter in the [Netware] section, you may apply a default outbound IPX SAP filter. This default outbound filter is an ordered list of named or unnamed IPX SAP filters used to filter packets sent on all interfaces (Ethernet or phone group) as well as on all LAN-to-LAN users and sites. Applying SAP Filters to Physical or Logical InterfacesIf you do not want to create default filters in the [Netware] section, you may apply IPX SAP filters on any physical or logical interface. Use the IPXSAPFilterIn parameter to apply an ordered list of named IPX SAP filters to incoming SAP packets; use the IPXSAPFilterOut parameter to apply an ordered list of named IPX SAP filters to outgoing SAP packets. The following table shows the interfaces on which you can apply IPX SAP filters.
Note: For LAN-to-LAN connections that are initiated remotely, you may apply IPX SAP filters in the [Users] sections as described in the following section. Applying SAP Filters to LAN-to-LAN ConnectionsFor LAN-to-LAN connections that are initiated remotely, you may apply an ordered list of IPX SAP filters to incoming and outgoing packets using the /sfi and /sfo options in the [Users] section. Note: Filters set using the IPXSAPFilterOut in the [Users] or [PhoneGroupn:IPX] sections have no effect on single-user dial-in calls. Those filters are only active when a pertinent LAN-to-LAN connection is active. For LAN-to-LAN connections that this Shiva device initiates, you may apply an ordered list of IPX SAP filters to incoming and outgoing packets using the IPXSAPFilterIn and IPXSAPFilterOut parameters in the [Site:<name>] section. SAP Filters and Single-User Dial-In ConnectionsYou cannot apply SAP filters explicitly to incoming and outgoing packets for a dial-in connection. However, if a single-user dial-in connection sends a SAP query, it will not learn about SAP devices that have been previously filtered because the Shiva device responds directly to the client's SAP query by using the data already in its internal SAP table. IPX SAP Filter Example[Netware] [IPXSAPFilters] [Users] [Site:remote1] [PhoneGroup1:IPX] Description of SAP Filter ExampleThe previous example above defines the following SAP filters:
The previous example shows the following:
Applying Default SAP FiltersIn the example, the IPXSAPFilterIn parameter in the [Netware] section causes the Shiva device to apply the named SAP filter print to all inbound SAP responses received by the device after all other inbound filters for the LAN-to-LAN user (or site) and interface are applied. The internal SAP table on the Shiva device can contain a print server psfast, print servers with a hop count less than 4, and all other SAP types. Applying Named SAP Filters to a LAN-to-LAN UserIn the example, the /sfo option configured in the definition of LAN-to-LAN user Tom in the [Users] section causes the Shiva device to apply the named SAP filters (file5 and print) when the device sends SAP responses to remote user Tom. Tom's internal SAP table accepts entries for print server psfast, all file servers with a hop count less than 5, and every other SAP type. Applying Named SAP Filters to a LAN-to-LAN SiteIn the example, the IPXSAPFilterOut parameter in the [Site:remote1] section causes the Shiva device to attempt to apply the named SAP filters (fscommon and all4) when the device sends SAP responses to the site named remote1. However, filter fscommon does not exist in the [IPXSAPFilters] section, so the Shiva device ignores this filter. The internal SAP table for site remote1 can contain all SAP types with a hop count of less than 5. Applying an Unnamed SAP Filter to a Phone GroupIn the example, the IPXSAPFilterIn parameter in the [PhoneGroup1:IPX] section causes the Shiva device to apply the unnamed SAP filter defined to all SAP responses it receives on any interface associated with PhoneGroup1. The unnamed SAP filter permits print servers with a hop count less than or equal to 2, and denies all other SAP entries. In this example, all users and sites use PhoneGroup1. [Netware] Section ParametersThe following table describes the parameters you must configure manually in the [Netware] section.
[Site:<sitename>] Section ParametersYou may apply IPX SAP filters to a LAN-to-LAN connection using the IPXSAPFilterIn and IPXSAPFilterOut parameters in the [Site:<sitename>] section. The IPXSAPFilterIn and IPXSAPFilterOut parameters have the same syntax and meaning as described for the [Netware] section. [Ethernet] Section ParametersYou may apply IPX SAP filters to Ethernet connections using the IPXSAPFilterIn and IPXSAPFilterOut parameters in the [Ethernet*:IPX], [Ethernet*:IPX_8022], [Ethernet*:IPX_SNAP], or [Ethernet*:IPX_8023] sections. The IPXSAPFilterIn and IPXSAPFilterOut parameters have the same syntax and meaning as described for the [Netware] section. [PhoneGroupn:IPX] Section ParametersYou may apply IPX SAP filters to a phone group using the IPXSAPFilterIn and IPXSAPFilterOut parameters in the [PhoneGroupn:IPX] section. The IPXSAPFilterIn and IPXSAPFilterOut parameters have the same syntax and meaning as described for the [Netware] section. [Users] Section ParametersThe following table describes the options you must configure manually to assign an IPX SAP filter to a user defined in the [Users] section.
Related Information |