[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
Commands Reference, Volume 2

expfilt Command

Purpose

Exports filter rules to an export file.

Exports filter rules.

Syntax

expfilt [-v 4|6] -f directory [-l filt_id_list]

Description

Use the expfilt command to export filter rules into export text file(s), which can be used by the impfilt command. This is useful if you want to define similar rules on multiple machines.

The expfilt command exports filter rules into text file(s) which can be used by the impfilt command.

Flags

-v IP version of the filter rules you want to export. The value of 4 specifies IP version 4 and the value of 6 specifies IP version 6. When this flag is not used, both IP version 4 and IP version 6 rules are exported.
-v IP version for which you want to export the filter rules. Value 4 specifies IP Version 4. Value 6 specifies IP Version 6. Default is for both IP Version 4 and IP Version 6.
-f Specifies the directory to create the exported text files. The directory will be created if it does not exist.
-f Defines the directory where the exported text files are to be written. The directory is created if it does not exists.
-l Lists the id's of the filter rules(s) you want to export. The filter rule ids can be separated by "," or "-". If this flag is not used, all the filter rules defined in the filter rule table for the applicable IP version(s) will be exported.
-l List of the filter rule id(s) you want to export. The filter rule ids are separated by space, "," or "-". If omitted, all the filter rules defined in the filter rule table for the IP version(s) will be exported.

[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]