Managing Security Groups
Check Point Maestro R80.20SP Administration Guide | 31
Examples
[Expert@MyChassis-ch01-01:0]# gclish
[Global] MyChassis-ch01-01>
[Global] MyChassis-ch01-01> update_conf_file /home/admin/MyConfFile.txt var1=hello
[Global] MyChassis-ch01-01>
[Global] MyChassis-ch01-01> cat /home/admin/MyConfFile.txt
-*- 3 blades: 2_01 2_02 2_03 -*-
var1=hello
[Global] MyChassis-ch01-01> update_conf_file /home/admin/MyConfFile.txt var2=24h
[Global] MyChassis-ch01-01>
[Global] MyChassis-ch01-01> cat /home/admin/MyConfFile.txt
-*- 3 blades: 2_01 2_02 2_03 -*-
var2=24h
var1=hello
[Global] MyChassis-ch01-01> update_conf_file /home/admin/MyConfFile.txt var1=goodbye
[Global] MyChassis-ch01-01>
[Global] MyChassis-ch01-01> cat /home/admin/MyConfFile.txt
-*- 3 blades: 2_01 2_02 2_03 -*-
var2=24h
var1=goodbye
[Global] MyChassis-ch01-01> update_conf_file /home/admin/MyConfFile.txt var2=
[Global] MyChassis-ch01-01>
[Global] MyChassis-ch01-01> cat /home/admin/MyConfFile.txt
-*- 3 blades: 2_01 2_02 2_03 -*-
var1=goodbye
[Global] MyChassis-ch01-01>
Notes:
n
This command works with configuration files in a specified format. It is composed of lines where
each line defines one variable:
<
variable
>=<
value
>
The
$FWDIR/boot/modules/fwkern.conf
and
$PPKDIR/conf/simkern.conf
files
use this format.
n
Variable name must not include an equal sign (
=
).
n
If the specified configuration file does not exist, this command creates it.
n
This command makes the required changes on all Security Appliances.
Setting Firewall Kernel Parameters (g_fw ctl set)
Description
Use these commands in the Expert mode to set or show specified Firewall kernel parameters.
Syntax for viewing the current value of a variable
# g_fw ctl get <
type
> <
parameter_name
>
Syntax for setting a value of a variable
# g_fw ctl set <
type
> <
parameter_name
> <
value
>