fw stat
Description
Shows the following information about the policy on the Security Gateway:
-
Name of the installed policy.
-
Date of the last policy installation.
-
Names of the interfaces protected by the installed policy, and in which direction the policy protects them.
|
|
Important - This command is outdated and exists only for backward compatibility with very old versions. Use the " |
Syntax
|
|
Parameters
|
Parameter |
Description |
||
|---|---|---|---|
|
|
Runs the command in debug mode. Use only if you troubleshoot the command itself.
|
||
|
No Parameters |
Shows default output - all information is on one line. |
||
|
|
Shows long output. Shows each interface and its protected traffic direction is on a separate line. In addition, shows this information:
|
||
|
|
Shows short output. Shows each interface and its protected traffic direction is on a separate line. |
||
|
|
Specifies the name of the Security Gateway or Cluster Member This requires the established SIC |
Example 1 - Default output
[Expert@MyGW:0]# fw stat HOST POLICY DATE localhost MyGW_Policy 10Sep2018 14:01:25 : [>eth0] [<eth0] [>eth1] [Expert@MyGW:0]# |
Example 2 - Short output
[Expert@MyGW:0]# fw stat -s HOST IF POLICY DATE localhost >eth0 MyGW_Policy 10Sep2018 14:01:25 : localhost <eth0 MyGW_Policy 10Sep2018 14:01:25 : localhost >eth1 MyGW_Policy 10Sep2018 14:01:25 : [Expert@MyGW:0]# |
Example 3 - Long output
[Expert@MyGW:0]# fw stat -l HOST IF POLICY DATE TOTAL REJECT DROP ACCEPT LOG localhost >eth0 MyGW_Policy 10Sep2018 14:01:25 : 14377 0 316 14061 1 localhost <eth0 MyGW_Policy 10Sep2018 14:01:25 : 60996 0 0 60996 0 localhost >eth1 MyGW_Policy 10Sep2018 14:01:25 : 304 0 304 0 0 [Expert@MyGW:0]# |
Example 4 - Long output from the Management Server
[Expert@MGMY:0]# fw stat -l MyGW HOST IF POLICY DATE TOTAL REJECT DROP ACCEPT LOG MyGW >eth0 MyGW_Policy 12Sep2018 16:34:56 : 120113 0 0 120113 0 MyGW <eth0 MyGW_Policy 12Sep2018 16:34:56 : 10807 0 0 10807 0 MyGW >eth2 MyGW_Policy 12Sep2018 16:34:56 : 3 0 0 3 0 MyGW <eth2 MyGW_Policy 12Sep2018 16:34:56 : 3 0 0 3 0 [Expert@MGMT:0]# |