<?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: Static Routes in VS in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251099#M49134</link>
    <description>&lt;P&gt;Maybe script like below?&lt;/P&gt;
&lt;P&gt;#!/bin/bash&lt;/P&gt;
&lt;P&gt;# Set the VSID you want to configure&lt;BR /&gt;VSID=3&lt;BR /&gt;vsenv $VSID&lt;/P&gt;
&lt;P&gt;# Define your routes as destination/gateway/interface&lt;BR /&gt;ROUTES=(&lt;BR /&gt;"10.0.1.0/24 192.168.1.1 eth1"&lt;BR /&gt;"10.0.2.0/24 192.168.1.2 eth2"&lt;BR /&gt;"10.0.3.0/24 192.168.1.3 eth3"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;for ROUTE in "${ROUTES[@]}"; do&lt;BR /&gt;set -- $ROUTE&lt;BR /&gt;DEST=$1&lt;BR /&gt;GW=$2&lt;BR /&gt;IFACE=$3&lt;/P&gt;
&lt;P&gt;clish -c "add static-route $DEST nexthop gateway address $GW on interface $IFACE"&lt;BR /&gt;done&lt;/P&gt;
&lt;P&gt;clish -c "save config"&lt;/P&gt;</description>
    <pubDate>Wed, 11 Jun 2025 23:32:09 GMT</pubDate>
    <dc:creator>the_rock</dc:creator>
    <dc:date>2025-06-11T23:32:09Z</dc:date>
    <item>
      <title>Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251098#M49133</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Is there a way to create many static routes by a script for a VSX environment?&lt;BR /&gt;We have quite a large list of static routes that we need to create in some instances (VS) of our VSX Cluster, and we want to know if we can use some “automated” to accomplish this task.&lt;BR /&gt;Thanks for your recommendations.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 23:24:24 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251098#M49133</guid>
      <dc:creator>Matlu</dc:creator>
      <dc:date>2025-06-11T23:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251099#M49134</link>
      <description>&lt;P&gt;Maybe script like below?&lt;/P&gt;
&lt;P&gt;#!/bin/bash&lt;/P&gt;
&lt;P&gt;# Set the VSID you want to configure&lt;BR /&gt;VSID=3&lt;BR /&gt;vsenv $VSID&lt;/P&gt;
&lt;P&gt;# Define your routes as destination/gateway/interface&lt;BR /&gt;ROUTES=(&lt;BR /&gt;"10.0.1.0/24 192.168.1.1 eth1"&lt;BR /&gt;"10.0.2.0/24 192.168.1.2 eth2"&lt;BR /&gt;"10.0.3.0/24 192.168.1.3 eth3"&lt;BR /&gt;)&lt;/P&gt;
&lt;P&gt;for ROUTE in "${ROUTES[@]}"; do&lt;BR /&gt;set -- $ROUTE&lt;BR /&gt;DEST=$1&lt;BR /&gt;GW=$2&lt;BR /&gt;IFACE=$3&lt;/P&gt;
&lt;P&gt;clish -c "add static-route $DEST nexthop gateway address $GW on interface $IFACE"&lt;BR /&gt;done&lt;/P&gt;
&lt;P&gt;clish -c "save config"&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 23:32:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251099#M49134</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-06-11T23:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251100#M49135</link>
      <description>&lt;P&gt;Static routes are not configurable (supported) via CLI for VSX locally on the gateway, this information is deployed via Management.&lt;/P&gt;
&lt;P&gt;Also one of the advantages of VSnext was API parity.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 00:07:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251100#M49135</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2025-06-12T00:07:04Z</dc:date>
    </item>
    <item>
      <title>Re: Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251101#M49136</link>
      <description>&lt;P&gt;Im pretty positive you can (I had done it before), but cant recall exactly how...had to do some changes via vsx_provisioning_tool on mgmt first.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 23:38:44 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251101#M49136</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-06-11T23:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251102#M49137</link>
      <description>&lt;P&gt;So, there is no “automated” way to accomplish this task?&lt;/P&gt;
&lt;P&gt;You can only manually (1x1) configure the routes through the SmartConsole?&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 23:39:30 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251102#M49137</guid>
      <dc:creator>Matlu</dc:creator>
      <dc:date>2025-06-11T23:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251103#M49138</link>
      <description>&lt;P&gt;Explore the Vsx provisioning tool on MGMT i.e.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/R81.10/WebAdminGuides/EN/CP_R81.10_VSX_AdminGuide/Topics-VSXG/CLI/vsx_provisioning_tool-Adding-Route.htm?tocpath=Command%20Line%20Reference%7Cvsx_provisioning_tool%7Cvsx_provisioning_tool%20Commands%7C_____13" target="_blank" rel="noopener"&gt;https://sc1.checkpoint.com/documents/R81.10/WebAdminGuides/EN/CP_R81.10_VSX_AdminGuide/Topics-VSXG/CLI/vsx_provisioning_tool-Adding-Route.htm?tocpath=Command%20Line%20Reference%7Cvsx_provisioning_tool%7Cvsx_provisioning_tool%20Commands%7C_____13&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jun 2025 23:44:13 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251103#M49138</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2025-06-11T23:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251108#M49140</link>
      <description>&lt;P&gt;There is no API only the vsx_provisioning_tool (which you can use in batches) that I posted a link to that is run from the Mgmt.&lt;/P&gt;
&lt;P&gt;Refer:&amp;nbsp;&lt;A href="https://www.youtube.com/watch?v=Tbgg64zB-vk" target="_blank" rel="noopener"&gt;https://www.youtube.com/watch?v=Tbgg64zB-vk&lt;/A&gt;&amp;nbsp;by&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/9282"&gt;@Magnus-Holmberg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 02:03:19 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251108#M49140</guid>
      <dc:creator>Chris_Atkinson</dc:creator>
      <dc:date>2025-06-12T02:03:19Z</dc:date>
    </item>
    <item>
      <title>Re: Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251109#M49141</link>
      <description>&lt;P&gt;Definitely no API bro.&lt;/P&gt;
&lt;P&gt;Andy&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 00:08:37 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251109#M49141</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-06-12T00:08:37Z</dc:date>
    </item>
    <item>
      <title>Re: Static Routes in VS</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251121#M49146</link>
      <description>&lt;P&gt;Nope, the only correct way is to set routes on the MGMT side. VSX provisioning tool is the answer, if you want to set many routes.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2025 07:21:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Static-Routes-in-VS/m-p/251121#M49146</guid>
      <dc:creator>_Val_</dc:creator>
      <dc:date>2025-06-12T07:21:43Z</dc:date>
    </item>
  </channel>
</rss>

