Shiva Logo

IPXSAPFilters Section

The [IPXSAPFilters] section is the section of the configuration file where you can define named IPX SAP filters.

IPX SAP filters include or exclude SAP entries based on some combination of one or more of the following: hop count, service type, or server name.

Creating a Named IPX SAP Filter

The following table describes how to create a named IPX SAP filter.

<filter name>

Description

Specifies an IPX SAP filter

Note: You must configure this parameter manually using the command shell or the text editing feature of Shiva ConfiguratorTM; IPX SAP filters configuration does not appear on any graphical user interface.

Syntax

See IPX SAP Filter Syntax that follows.

Default

Unset

Example

To permit all IPX SAP packets from the server named psfast and deny all other SAP packets:

filter1=Permit,sname=psfast;Deny

To deny all IPX SAP packets from the server named psfast and permit all other SAP packets:

filter2=Deny,sname=psfast;Permit

Reboot

Not required

IPX SAP Filter Syntax

Specify each named IPX SAP filter on a separate line using the following format:

<IPX SAP filter name>=<action>, [hop=<hops>], |
[stype=<stype>], [sname=<sname>]

Note: The square brackets ([ ]) indicate optional parameters. The pipe symbol ( | ) indicates that the command continues on the next line.

Syntax Definition

<IPX SAP filter name>

Specifies a 1- to 16-character name of an IPX SAP filter

<action>

Specifies Deny or Permit to define how to process a filter match

Deny means to exclude the packets that match.

Permit means to include the packets that match.

Note: If a filter permits specific IPX packets, the Shiva device filters (denies or permits) all other packets. For example:

filter1=Permit,sname=psfast

The above filter permits all packets from the server named psfast and denies all other packets.

filter1=Permit,sname=psfast;Deny,sname=pslocal; Permit

The above filter permits all packets from server psfast, denies all packets from server pslocal, and permits all other packets.

CAUTION: If a filter denies specific IPX SAP packets, you must follow this filter in the IPXSAPFilterIn or IPXSAPFilterOut definition with a filter that specifies Permit so that other packets are permitted. If you do not explicitly permit all other packets, the filter (whether it is Deny or Permit) appends a Deny filter by default to deny all other packets.

For example:

filter1a=Deny, sname=psfast

This filter denies all packets from server psfast and denies all other packets.

filter1b=Deny,sname=psfast;Permit

This filter denies all packets from server psfast and permits all other packets.

hop=<hops>

Specifies the number of hops (1 to 14) in the internal SAP table of packets to include or exclude (permit or deny)

Note: The default value for this field is 14.

The interpretation of the hop field depends on the value of the action field as follows:

  • · If <action> is set to Deny, exclude all packets with a hop count of <hops> or greater than <hops>.
  • · If <action> is set to Permit, include all packets with a hop count of <hops> or less than <hops>.

stype=<server type>

Specifies the service type that the Shiva device filters (denies or permits)

Enter a hexadecimal value from 0 to 0xFFFF, a decimal value from 0 to 65535, or an octal value from 0 to 0177777.

Note: If you omit this field, the device filters (denies or permits) all service types.

sname=<server name>

Specifies a 1- to 48-character case-sensitive ASCII server name that the device filters (denies or permits)

Note: If you omit this field, the device filters (denies or permits) all server names.

Related Information

Parameter Sections Overview

Configuring IPX SAP Filters

[ Top of Page . . . ]