Sample init-cfg.txt Files
Focus
Focus

Sample init-cfg.txt Files

Table of Contents
End-of-Life (EoL)

Sample init-cfg.txt Files

An init-cfg.txt file is required for the bootstrap process; this file is a basic configuration file that you create using a text editor. To create this file, see Create the init-cfg.txt file. The following sample init-cfg.txt files show the parameters that are supported in the file; the parameters that you must provide are in bold.
Sample init-cfg.txt (Static IP Address)
Sample init-cfg.txt (DHCP Client)
type=static ip-address=10.5.107.19 default-gateway=10.5.107.1 netmask=255.255.255.0 ipv6-address=2001:400:f00::1/64 ipv6-default-gateway=2001:400:f00::2 hostname=Ca-FW-DC1 panorama-server=10.5.107.20 panorama-server-2=10.5.107.21 tplname=FINANCE_TG4 dgname=finance_dg dns-primary=10.5.6.6 dns-secondary=10.5.6.7 op-command-modes=multi-vsys,jumbo-frame dhcp-send-hostname=no dhcp-send-client-id=no dhcp-accept-server-hostname=no dhcp-accept-server-domain=no
type=dhcp-client ip-address= default-gateway= netmask= ipv6-address= ipv6-default-gateway= hostname=Ca-FW-DC1 panorama-server=10.5.107.20 panorama-server-2=10.5.107.21 tplname=FINANCE_TG4 dgname=finance_dg dns-primary=10.5.6.6 dns-secondary=10.5.6.7 op-command-modes=multi-vsys,jumbo-frame dhcp-send-hostname=yes dhcp-send-client-id=yes dhcp-accept-server-hostname=yes dhcp-accept-server-domain=yes
The following table describes the fields in the init-cfg.txt file. The type is required; if the type is static, the IP address, default gateway and netmask are required, or the IPv6 address and IPv6 default gateway are required.
Field
Description
type
(Required) Type of management IP address: static or dhcp-client.
ip-address
(Required for IPv4 static management address) IPv4 address. The firewall ignores this field if the type is dhcp-client.
default-gateway
(Required for IPv4 static management address) IPv4 default gateway for the management interface. The firewall ignores this field if the type is dhcp-client.
netmask
(Required for IPv4 static management address) IPv4 netmask. The firewall ignores this field if the type is dhcp-client.
ipv6-address
(Required for IPv6 static management address) IPv6 address and /prefix length of the management interface. The firewall ignores this field if the type is dhcp-client.
ipv6-default-gateway
(Required for IPv6 static management address) IPv6 default gateway for the management interface. The firewall ignores this field if the type is dhcp-client.
hostname
(Optional) Host name for the firewall.
panorama-server
(Recommended) IPv4 or IPv6 address of the primary Panorama server.
panorama-server-2
(Optional) IPv4 or IPv6 address of the secondary Panorama server.
tplname
(Recommended) Panorama template name.
dgname
(Recommended) Panorama device group name.
dns-primary
(Optional) IPv4 or IPv6 address of the primary DNS server.
dns-secondary
(Optional) IPv4 or IPv6 address of the secondary DNS server.
vm-auth-key
(VM-Series firewalls only) Virtual machine authentication key.
op-command-modes
(Optional) Enter multi-vsys, jumbo-frame, or both separated by a comma only. Enables multiple virtual systems and jumbo frames while bootstrapping.
dhcp-send-hostname
(DHCP client type only) The DHCP server determines a value of yes or no. If yes, the firewall sends its hostname to the DHCP server.
dhcp-send-client-id
(DHCP client type only) The DHCP server determines a value of yes or no. If yes, the firewall sends its client ID to the DHCP server.
dhcp-accept-server-hostname
(DHCP client type only) The DHCP server determines a value of yes or no. If yes, the firewall accepts its hostname from the DHCP server.
dhcp-accept-server-domain
(DHCP client type only) The DHCP server determines a value of yes or no. If yes, the firewall accepts its DNS server from the DHCP server.