Remote ipfilter delete, Remote ipfilter flush, Remote ipfilter clear – Efficient Networks 107-0001-000 User Manual

Page 218: Remote ipfilter check

Advertising
background image

Chapter 6: Remote Commands

Efficient Networks

®

Router family

Command Line Interface Guide

Page 6-30

Efficient Networks

®

If no line number is specified, the filter is inserted at the beginning of the list;
otherwise, it is inserted before the specified line. For example, “

insert 0

” inserts the

filter before line 0 so it is the first filter in the list. Filters are used in the order they
appear in their list.

remote ipfilter delete

remote ipfilter delete <type> <action> <parameters>

<remotename>

Deletes the first filter that matches the filter specified on the command.

remote ipfilter flush

remote ipfilter flush [<first line> [<last line>]] <type>

<remotename>

Deletes a range of filters of this

<type>

(Input, Receive, Transmit, or Output) for this

remote entry.

If no line numbers are specified, all filters in the list are deleted. If only the first line
number is specified, all filters from that line to the end are deleted. To see the current
filter list, use the

remote ipfilter list

list command. Filters are used in the order they

appear in their list.

remote ipfilter clear

remote ipfilter clear [<first line> [<last line>]] [<type>]

<clear arg> <remotename>

Resets the counters for the specified filters. A filter has a counter if the

-c

parameter

was specified for the filter.

You can specify the filters whose counters are to be reset by their line number range
and type (input, receive, transmit, or output). If no

<type>

is specified, the counters

for all filters for the interface are reset. If no line numbers are specified, the counters
for all filters for that type and interface are reset. If only the first line number is
specified, all counters for filters from that line to the end are reset. To see the filter lists
and counters, use the

remote ipfilter list

command.

remote ipfilter check

remote ipfilter check <type> <parameters> <remotename>

Checks the action that would be taken if a packet with the specified parameters was
compared with the list of filters defined for the specified type and remote entry.

Advertising