Shiva Logo

Example: IPX SAP Filter Configuration

You can configure IPX SAP filters in the IPXSAPFilters section of the configuration file. Shiva devices use inbound and outbound IPX SAP filters for the following reasons:

  • To limit the number of internal SAP entries kept by the Shiva device

  • To decrease the number of SAP entries advertised to peer routers and servers

  • To decrease the network load by reducing the size of SAP responses

  • To reduce memory requirement for small office/home office (SOHO) routers

Inbound filters are applied to IPX SAP responses received by the Shiva device; outbound filters are applied to IPX SAP responses created by the Shiva device.

IPX SAP Filter Example

In the following IPX SAP filter example, IPX and SAP filtering are enabled in the Netware section. The IPX SAP filter, print, is a default outbound filter that applies to all users, sites, and ports.

[Netware]
Enabled=1
SAPFiltering=1
MaxIPXSAPFilterRecursion=2
IPXSAPFilterIn=print

The default inbound IPX SAP filter is "print." This filter is applied to all inbound, IPX SAP responses received by the Shiva device after all other inbound filters for the user (or site) and port are applied. The internal SAP table on the Shiva device can contain a print server fastps, print servers with a hop count less than 3, and all other SAP types.

Four filters are defined in the IPXSAPFilters section:

  • Filter "print" permits the print server named psfast and denies all other print servers.

  • Filter "pslocal" permits the print server named pslocal.

  • Filter "file5" denies all file servers with a hop counter greater than or equal to 5.

  • Filter "all4" permits all servers with a hop count less than or equal to 4 and denies all others.

[IPXSAPFilters]
print=Permit,stype=4,sname=pfast; Deny,stype=4;permit
pslocal=Permit,stype=4,sname=pslocal
file5=Deny,hop=5,stype=5;permit
all4=Permit,hop=4

When the Shiva device sends IPX SAP responses to user Tom, the device applies the SAP filters "file5" and "print" so that Tom's internal SAP table can contain print server psfast, all file servers with a hop count less than 6, plus every other SAP type.

[Users]
Tom=/di/do/sfo=file5,print

When the Shiva device sends IPX SAP responses to the site named remote1, the device applies the filters "fscommon" and "all4." Because filter "fscommon" does not exist in the IPXSAPFilters section, this filter is not applied. The internal SAP table for site remote1 can contain all SAP types with a hop count of less than 5.

[Site:remote1]
IPXSAPFilterOut=fscommon,all4

All users and sites use PhoneGroup1. When the Shiva device receives SAP responses on any port associated with PhoneGroup1, the device applies the unnamed phone group filter that permits print servers with a hop count less than or equal to 2, plus all other SAP entries.

[PhoneGroup1:IPX]
IPXSAPFilterIn=Permit,hop=2,stype=4

Related Information

IPXSAPFilters Section

[ Top of Page... ]