FILTER statement

Use the FILTER statement can be coded stand-alone in the OMPROUTE configuration file (nosend and noreceive only) to apply to all configured RIP interfaces.

Syntax

Read syntax diagramSkip visual syntax diagram
>>-filter--=--(filter_type,dest_route,filter_mask)-------------><

Parameters

filter_type
The filter_type can be any of the following values:
nosend
Specifies that routes matching the dest_route and filter_mask are not to be broadcast over RIP interfaces. This option serves as an RIP output filter.
noreceive
Specifies that routes matching the dest_route and filter_mask are to be ignored in broadcasts received over RIP interfaces. This option serves as a RIP input filter.
dest_route
The dest_route specifies the destination route in network, subnetwork, or host format in dotted decimal form. Alternatively, an asterisk (*), which matches any destination, can be coded to filter out all routes sent or received over an interface. The use of the asterisk is also referred to as a blackhole filter. This should be used in conjunction with either additional send or receive filters to allow only certain routes to be received, or advertised over an interface or set of interfaces.

Tip: When the Originate_RIP_Default statement is configured, the blackhole nosend filter does not prevent sending of the default route.

filter_mask
The filter_mask specifies the filter mask in dotted decimal form. If this value is not coded, the default filter mask is 255.255.255.255, meaning apply the filter to the dest_route as coded. Coding the filter mask has no meaning and is not valid if the dest_route is coded as an asterisk (*) for a blackhole filter.