Efficient Networks
®
Router family
Command Line Interface Guide
Chapter 5: Ethernet Interface Commands
Efficient Networks
®
Page 5-21
Inserts a filter in the list of filters for this
<type>
and
<interface>
. The filter is
specified by the
<action>
and optional
<parameters>
.
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.
eth ip filter delete
eth ip filter delete <type> <action> <parameters> [<interface>]
Deletes the first filter that matches the filter specified on the command.
eth ip filter flush
eth ip filter flush [<first line> [<last line>]] <type>
[<interface>]
Deletes a range of filters from the list for this
<type>
and
<interface>
.
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
eth ip filter list
command. Filters are used in the order they appear in
their list.
eth ip filter clear
eth ip filter clear [<first line> [<last line>]] [<type>]
<clear arg> [<interface>]
Resets the counters for the specified filters. A filter has a counter if the -c parameter
was specified when the filter was defined.
You can specify the filters whose counters are to be reset by their line number range
and type (input, output, or forward). 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 of the list are reset. To see the line
numbers and counters, use the
eth ip filter list
command.