<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Base Script for SMB Configuration via CLI in Spark Firewall (SMB)</title>
    <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/271955#M13706</link>
    <description>&lt;P&gt;Thanks! Very useful!&lt;/P&gt;</description>
    <pubDate>Wed, 25 Feb 2026 18:35:51 GMT</pubDate>
    <dc:creator>LucasRB</dc:creator>
    <dc:date>2026-02-25T18:35:51Z</dc:date>
    <item>
      <title>Base Script for SMB Configuration via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/270615#M13671</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT size="6"&gt;&lt;STRONG&gt;Base Script for SMB Configuration via CLI&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I would like to share a base script that you can use and edit when performing SMB configurations via clish.&lt;/P&gt;&lt;P&gt;This makes our lives much easier when working with large-scale SMB deployments. In my last implementation, I pre-configured 48 Spark 1575 appliances, and if I had used Zero Touch for this, these scripts could also have been applied.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;These base Script was used on versions R81.10.X, so a sujest read too, for complement if you need more configuration:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;R81.10.X Quantum Spark 1500, 1600, 1800, 1900, 2000 Appliances CLI Reference Guide&lt;BR /&gt;&lt;BR /&gt;Right now we have a new version, but I don't use this version yet, so I'll just reference the guide here as an information:&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;R82.00.X Quantum Spark Appliances CLI Reference Guide&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="5"&gt;At the beginning, these are the first lines to execute — I will explain why:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;set property first-time-wizard off&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; #This command skips the web First Time Wizard, allowing us to proceed directly with configuration via clish&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;delete switch LAN1_Switch&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp; #By default, every SMB appliance starts with a LAN1_Switch configuration, and all ports are in this LAN1_Switch, this commands will delete LAN1_Switch and free all LAN's interfaces for a free use as you desire.&lt;/P&gt;&lt;P&gt;After that, I disable some unnecessary features and continue with hostname, DNS, NTP, admin access, session settings, disabling DHCP on interfaces, LAN interface configuration, VLAN configuration (including VLAN with active DHCP), and WAN interface configuration already prepared for Check Point SD-WAN.&lt;/P&gt;&lt;P&gt;We know that SMB is quite different from Enterprise environments, and sometimes configuration on SMB appliances can be a bit tricky.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Script via USB autoconf.clish:&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;You can use this type of script for be initiated via USB pendrive, you just need edit the name file for this format&amp;nbsp;&lt;EM&gt;autoconf.XX-XX-XX-XX-XX.clish&lt;/EM&gt;&lt;SPAN&gt;&amp;nbsp;&lt;BR /&gt;xx-xx-xx-xx-xx-xx its the spark MAC.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;After edit the name, just put this script in a USB pendrive, and conect on the usb port of the quantum spark, and turn on the gateway, if everething was good with recognition of the pendrive, will initiate the script and the spark will start set all configuration.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But if don't work fine the pendrive or the autoconf.clish format, you can set manually the script when you do your first access to the Spark via console port.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;A good thing that normally I use when I don't use autoconf, its set one interface that don't will be used, set one generic IPv4 to be one type of management interface, that is better for access ssh to run the clish script, than the console some times.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Enjoy:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="6"&gt;# ---------First configurations and Advanced Settings--------&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;set property first-time-wizard off&lt;BR /&gt;delete switch LAN1_Switch&lt;BR /&gt;set dns proxy disable&lt;/P&gt;&lt;P&gt;set hotspot advanced-settings activation off&lt;BR /&gt;set pmtud pmtud-mode oneshot&lt;BR /&gt;set misp-refresh-route mode on&lt;BR /&gt;set iot-stats mode off&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="6"&gt;# ------------------ DNS, HOSTNAME, NTP --------------------&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;set device-details hostname "HOSTNAME"&lt;/P&gt;&lt;P&gt;set dns primary ipv4-address "1.1.1.1"&lt;BR /&gt;set dns secondary ipv4-address "8.8.8.8"&lt;BR /&gt;set dns tertiary ipv4-address 9.9.9.9&lt;BR /&gt;set domainname local.domain&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;set ntp active on&lt;BR /&gt;set ntp server primary a.st1.ntp.br&lt;BR /&gt;set ntp server secondary b.st1.ntp.br&lt;BR /&gt;set ntp local-time-zone GMT-03:00(Brasilia) auto-adjust-daylight-saving off&lt;BR /&gt;set ntp interval 60&lt;/P&gt;&lt;P&gt;set admin-access interfaces WAN access allow&lt;BR /&gt;set admin-access interfaces Wireless access block&lt;BR /&gt;set admin-access allowed-ipv4-addresses any&lt;BR /&gt;set admin-access web-access-port 4434&lt;BR /&gt;set admin-access ssh-access-port 22&lt;/P&gt;&lt;P&gt;set administrator session-settings inactivity-timeout 10&lt;BR /&gt;set administrator session-settings password-history-mechanism true&lt;BR /&gt;set administrator session-settings lockout-enable on&lt;BR /&gt;set administrator session-settings max-lockout-attempts 5&lt;BR /&gt;set administrator session-settings lock-period 5&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="6"&gt;# ------------------LAN------------------------------------&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;set dhcp server interface DMZ disable&lt;BR /&gt;set dhcp server interface LAN1 disable&lt;BR /&gt;set dhcp server interface LAN2 disable&lt;BR /&gt;set dhcp server interface LAN3 disable&lt;BR /&gt;set dhcp server interface LAN4 disable&lt;BR /&gt;set dhcp server interface LAN5 disable&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;set interface LAN1 state on&lt;BR /&gt;set interface LAN1 unassigned&lt;/P&gt;&lt;P&gt;add interface LAN1 vlan 1 ipv4-address 10.90.90.1 mask-length 21&lt;BR /&gt;set interface LAN1.1 description USERS&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;add interface LAN1 vlan 80 ipv4-address 10.80.80.1 mask-length 24&lt;BR /&gt;set interface LAN1.80 description MGMT&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;add interface LAN1 vlan 200 ipv4-address 10.251.12.1 mask-length 22&lt;BR /&gt;set interface LAN1.200 description GUEST&lt;BR /&gt;set dhcp server interface LAN1.200 include-ip-pool 10.251.12.100-10.251.15.254&lt;BR /&gt;set dhcp server interface LAN1.200 enable&lt;BR /&gt;set dhcp server interface LAN1.200 dns manual primary 8.8.8.8 secondary 8.8.4.4&lt;BR /&gt;set dhcp server interface LAN1.200 lease-time 168&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="6"&gt;# -----------------WAN-------------------------------&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;add internet-connection name MPLS01 interface LAN7 type static ipv4-address 10.251.10.3 mask-length 24 default-gw 10.251.10.1&lt;BR /&gt;set internet-connection MPLS01 ha-priority 1 load-balancing-weight 10&lt;BR /&gt;set internet-connection MPLS01 probe-next-hop true probing-method icmp&lt;BR /&gt;set internet-connection MPLS01 probing-advanced probing-frequency 3 probing-window-size 15 failover-after-ping-failure-percent 66 max-latency-allowed 300 high-availability-recovery-time 60&lt;BR /&gt;set internet-connection MPLS01 sdwan-tag "MPLS02" sdwan "enabled" download-speed "100" upload-speed "100"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;add internet-connection name MPLS02 interface LAN8 type static ipv4-address 10.52.25.3 mask-length 29 default-gw 10.52.25.1&lt;BR /&gt;set internet-connection MPLS02 ha-priority 1 load-balancing-weight 10&lt;BR /&gt;set internet-connection MPLS02 probe-next-hop true probing-method icmp&lt;BR /&gt;set internet-connection MPLS02 probing-advanced probing-frequency 3 probing-window-size 15 failover-after-ping-failure-percent 66 max-latency-allowed 300 high-availability-recovery-time 60&lt;BR /&gt;set internet-connection MPLS02 sdwan-tag "MPLS02" sdwan "enabled" download-speed "100" upload-speed "100"&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT size="6"&gt;# -----------------SIC-------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;FONT size="4"&gt;set security-management mode centrally-managed&lt;BR /&gt;&lt;SPAN&gt;connect security-management mgmt-addr myHost.com use-one-time-password true local-override-mgmt-addr true send-logs-to local-override-log-server-addr addr myHost.com&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;set sic_init password tP595EfFcRot&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 16:38:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/270615#M13671</guid>
      <dc:creator>israelfds95</dc:creator>
      <dc:date>2026-02-12T16:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: Base Script for SMB Configuration via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/270635#M13672</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Good Job Israel&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 17:43:52 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/270635#M13672</guid>
      <dc:creator>WiliRGasparetto</dc:creator>
      <dc:date>2026-02-12T17:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Base Script for SMB Configuration via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/270636#M13673</link>
      <description>&lt;P&gt;Amazing!&lt;/P&gt;</description>
      <pubDate>Thu, 12 Feb 2026 18:07:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/270636#M13673</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2026-02-12T18:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Base Script for SMB Configuration via CLI</title>
      <link>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/271955#M13706</link>
      <description>&lt;P&gt;Thanks! Very useful!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Feb 2026 18:35:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Spark-Firewall-SMB/Base-Script-for-SMB-Configuration-via-CLI/m-p/271955#M13706</guid>
      <dc:creator>LucasRB</dc:creator>
      <dc:date>2026-02-25T18:35:51Z</dc:date>
    </item>
  </channel>
</rss>

