fw defaultgen

Description

Manually generates the Default Filter policy files.

Refer to these related commands:

Syntax

fw [-d] defaultgen

Parameters

Parameter

Description

-d

Runs the command in debug mode.

Use only if you troubleshoot the command itself.

Best Practice - If you use this parameter, then redirect the output to a file, or use the script command to save the entire CLI session.

defaultgen

Generates the Default Filter policy files:

  • For IPv4 traffic:

    $FWDIR/state/default.bin

  • For IPv6 traffic:

    $FWDIR/state/default.bin6

If the Default Filter policy file already exists, the command creates a backup copy ($FWDIR/state/default.bin.bak and $FWDIR/state/default.bin6.bak).

Example

[Expert@MyGW:0]# fw defaultgen
Generating default filter
defaultfilter:
Compiled OK.
defaultfilter:
Compiled OK.
 Backing up default.bin as default.bin.bak
 hostaddr(MyGW) failed
 Backing up default.bin6 as default.bin6.bak
[Expert@MyGW:0]#