- Products
- Learn
- Local User Groups
- Partners
- More
The Great Exposure Reset
24 February 2026 @ 5pm CET / 11am EST
CheckMates Fest 2026
Watch Now!AI Security Masters
Hacking with AI: The Dark Side of Innovation
CheckMates Go:
CheckMates Fest
Hey everyone,
We are prepping for a large edit involving around 350 VLAN interfaces on a cluster on R81. These interfaces are using different subnets then the cluster address that will be used.
The interfaces have already been discovered and added, but not the cluster addresses. We are are facing an issue with the management api where if we edit more then one interface, when publishing we get the error "The interfaces of all the members in this network must be under the same subnet".
If we publish one interface change at a time it works...
Any ideas on how to A) push this change regardles of the error? or B) Create a script that publishes after every change?
Below is the example test in lab, you can see that the exact same commands will not work if you try to publish two changes, but if you publish in between them it works fine...
Thanks in advance,
RK
EXAMPLE - Multiple edits, one publish not working:
[Expert@SMS:0]# mgmt_cli set simple-cluster name ClusterXL-Lab interfaces.update.name eth2.2009 interfaces.update.ip-address 192.168.224.38 interfaces.update.ipv4-mask-length 30 interfaces.update.interface-type cluster interfaces.update.topology INTERNAL interfaces.update.anti-spoofing False interfaces.update.topology-settings.ip-address-behind-this-interface SPECIFIC interfaces.update.topology-settings.specific-network VLAN-2009-group -s id.txt
---------------------------------------------
Time: [12:28:11] 23/4/2021
---------------------------------------------
"set simple-cluster" in progress (0%)
---------------------------------------------
Time: [12:28:41] 23/4/2021
---------------------------------------------
"set simple-cluster" succeeded (100%)
tasks:
- task-id: "01234567-89ab-cdef-a6df-896461f5c74e"
task-name: "set simple-cluster"
status: "succeeded"
progress-percentage: 100
suppressed: false
task-details:
- message: "Successfully finished"
[Expert@SMS:0]# mgmt_cli set simple-cluster name ClusterXL-Lab interfaces.update.name eth2.2010 interfaces.update.ip-address 192.168.224.42 interfaces.update.ipv4-mask-length 30 interfaces.update.interface-type cluster interfaces.update.topology INTERNAL interfaces.update.anti-spoofing False interfaces.update.topology-settings.ip-address-behind-this-interface SPECIFIC interfaces.update.topology-settings.specific-network VLAN-2010-group -s id.txt
---------------------------------------------
Time: [12:29:47] 23/4/2021
---------------------------------------------
"set simple-cluster" in progress (0%)
---------------------------------------------
Time: [12:30:27] 23/4/2021
---------------------------------------------
"set simple-cluster" succeeded (100%)
tasks:
- task-id: "01234567-89ab-cdef-9336-357fb2189bca"
task-name: "set simple-cluster"
status: "succeeded"
progress-percentage: 100
suppressed: false
task-details:
- message: "Successfully finished"
[Expert@SMS:0]# mgmt_cli publish -s id.txt
---------------------------------------------
Time: [12:31:44] 23/4/2021
---------------------------------------------
"Publish operation" in progress (10%)
---------------------------------------------
Time: [12:31:54] 23/4/2021
---------------------------------------------
"Publish operation" failed (100%)
tasks:
- task-id: "01234567-89ab-cdef-9cc7-b22834c9b3c1"
task-name: "Publish operation"
status: "failed"
progress-percentage: 100
suppressed: false
task-details:
- fault-message: "The interfaces of all the members in this network must be under the same subnet"
EXAMPLE - One at a time - works:
[Expert@SMS:0]# mgmt_cli set simple-cluster name ClusterXL-Lab interfaces.update.name eth2.2009 interfaces.update.ip-address 192.168.224.38 interfaces.update.ipv4-mask-length 30 interfaces.update.interface-type cluster interfaces.update.topology INTERNAL interfaces.update.anti-spoofing False interfaces.update.topology-settings.ip-address-behind-this-interface SPECIFIC interfaces.update.topology-settings.specific-network VLAN-2009-group -s id.txt
---------------------------------------------
Time: [12:32:49] 23/4/2021
---------------------------------------------
"set simple-cluster" in progress (0%)
---------------------------------------------
Time: [12:32:59] 23/4/2021
---------------------------------------------
"set simple-cluster" in progress (0%)
---------------------------------------------
Time: [12:33:09] 23/4/2021
---------------------------------------------
"set simple-cluster" in progress (0%)
---------------------------------------------
Time: [12:33:19] 23/4/2021
---------------------------------------------
"set simple-cluster" succeeded (100%)
tasks:
- task-id: "01234567-89ab-cdef-9080-c941abe633c1"
task-name: "set simple-cluster"
status: "succeeded"
progress-percentage: 100
suppressed: false
task-details:
- message: "Successfully finished"
[Expert@SMS:0]# mgmt_cli publish -s id.txt
---------------------------------------------
Time: [12:34:03] 23/4/2021
---------------------------------------------
"Publish operation" in progress (10%)
---------------------------------------------
Time: [12:34:13] 23/4/2021
---------------------------------------------
"Publish operation" succeeded (100%)
tasks:
- task-id: "01234567-89ab-cdef-9c4a-324faa169269"
task-name: "Publish operation"
status: "succeeded"
progress-percentage: 100
suppressed: false
task-details:
- publishResponse:
numberOfPublishedChanges: 4
mode: "async"
revision: "de41ea20-2755-4659-99c3-618eca664f46"
[Expert@SMS:0]# mgmt_cli set simple-cluster name ClusterXL-Lab interfaces.update.name eth2.2010 interfaces.update.ip-address 192.168.224.42 interfaces.update.ipv4-mask-length 30 interfaces.update.interface-type cluster interfaces.update.topology INTERNAL interfaces.update.anti-spoofing False interfaces.update.topology-settings.ip-address-behind-this-interface SPECIFIC interfaces.update.topology-settings.specific-network VLAN-2010-group -s id.txt
---------------------------------------------
Time: [12:34:28] 23/4/2021
---------------------------------------------
"set simple-cluster" in progress (0%)
---------------------------------------------
Time: [12:35:08] 23/4/2021
---------------------------------------------
"set simple-cluster" succeeded (100%)
tasks:
- task-id: "01234567-89ab-cdef-9eb5-91432a7fe863"
task-name: "set simple-cluster"
status: "succeeded"
progress-percentage: 100
suppressed: false
task-details:
- message: "Successfully finished"
[Expert@SMS:0]# mgmt_cli publish -s id.txt
---------------------------------------------
Time: [12:35:15] 23/4/2021
---------------------------------------------
"Publish operation" in progress (10%)
---------------------------------------------
Time: [12:35:25] 23/4/2021
---------------------------------------------
"Publish operation" succeeded (100%)
tasks:
- task-id: "01234567-89ab-cdef-83d6-dcfe4270d043"
task-name: "Publish operation"
status: "succeeded"
progress-percentage: 100
suppressed: false
task-details:
- publishResponse:
numberOfPublishedChanges: 4
mode: "async"
revision: "9d421d71-21f4-40ee-81c6-4527786ae93e"
Sounds like it might be a bug in the validation logic.
Paging @Omer_Kleinstern.
I suppose you could also just make each mgmt_cli call with -r true, which actually does a login as root before each command and a publish/logout after.
Generally not the most efficient approach but in this case, it might be a necessary workaround.
Sounds like it might be a bug in the validation logic.
Paging @Omer_Kleinstern.
I suppose you could also just make each mgmt_cli call with -r true, which actually does a login as root before each command and a publish/logout after.
Generally not the most efficient approach but in this case, it might be a necessary workaround.
Thanks PhoneBoy! I thought -r was only for login.
In the lab I ended using the script reference below to have it wait out the commands...
On a side note, I also tried using --batch and that totally messed up all the ClusterXl Interfaces...
You can use -r true for single commands (in addition to creating a session for reuse).
I did get some confirmation from R&D this is a known bug (PMTR-68323) which currently doesn’t have a fix.
Current plan is to fix in R81.20 and backport to the various JHF.
So, I've used the -r option and a script to add 350+ cluster interfaces. Took upwards of 5 hours, after already having discovered and published the interfaces without a cluster IP.
Any ideas on how I could speed the process up? Have another cluster to configure tonight....
You could recover some time by publishing after each change instead of using -r true for each change (i.e. reusing the same session instead of creating a new one).
That's probably it, at least while this bug still exists.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Thu 19 Feb 2026 @ 03:00 PM (EST)
Americas Deep Dive: Check Point Management API Best PracticesTue 24 Feb 2026 @ 11:00 AM (EST)
Under The Hood: CloudGuard Network Security for Azure Virtual WANThu 19 Feb 2026 @ 03:00 PM (EST)
Americas Deep Dive: Check Point Management API Best PracticesTue 24 Feb 2026 @ 11:00 AM (EST)
Under The Hood: CloudGuard Network Security for Azure Virtual WANAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY