- Products
- Learn
- Local User Groups
- Partners
- More
What's New in R82.10?
10 December @ 5pm CET / 11am ET
Improve Your Security Posture with
Threat Prevention and Policy Insights
Overlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Hello,
Is there a way to create many static routes by a script for a VSX environment?
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.
Thanks for your recommendations.
Explore the Vsx provisioning tool on MGMT i.e.
Maybe script like below?
#!/bin/bash
# Set the VSID you want to configure
VSID=3
vsenv $VSID
# Define your routes as destination/gateway/interface
ROUTES=(
"10.0.1.0/24 192.168.1.1 eth1"
"10.0.2.0/24 192.168.1.2 eth2"
"10.0.3.0/24 192.168.1.3 eth3"
)
for ROUTE in "${ROUTES[@]}"; do
set -- $ROUTE
DEST=$1
GW=$2
IFACE=$3
clish -c "add static-route $DEST nexthop gateway address $GW on interface $IFACE"
done
clish -c "save config"
Static routes are not configurable (supported) via CLI for VSX locally on the gateway, this information is deployed via Management.
Also one of the advantages of VSnext was API parity.
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.
Andy
So, there is no “automated” way to accomplish this task?
You can only manually (1x1) configure the routes through the SmartConsole?
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.
Refer: https://www.youtube.com/watch?v=Tbgg64zB-vk by @Magnus-Holmberg
Definitely no API bro.
Andy
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.
Explore the Vsx provisioning tool on MGMT i.e.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 26 | |
| 18 | |
| 12 | |
| 8 | |
| 6 | |
| 6 | |
| 6 | |
| 5 | |
| 4 | |
| 4 |
Wed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasWed 03 Dec 2025 @ 10:00 AM (COT)
Última Sesión del Año – CheckMates LATAM: ERM & TEM con ExpertosThu 04 Dec 2025 @ 12:30 PM (SGT)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - APACThu 04 Dec 2025 @ 03:00 PM (CET)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - EMEAThu 04 Dec 2025 @ 02:00 PM (EST)
End-of-Year Event: Securing AI Transformation in a Hyperconnected World - AmericasAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY