Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniel_
Advisor
Jump to solution

Get Anti-Spoofing configuration for Virtual System

Hello,

for a "normal" cluster I can get the topolgy information via "show simple-cluster". How can I get the information via API on a "Virtual System"? I need the Anti-Spoofing part.

2024-09-30 10_09_50-Interface Properties.png

Thanks!

0 Kudos
1 Solution

Accepted Solutions
Timothy_Hall
Legend Legend
Legend

You might be able to get this info via a run-script call invoking the following "one-liner"; I've never tried this in a VSX environment but it should be supported:

https://community.checkpoint.com/t5/Security-Gateways/One-liner-for-Address-Spoofing-Troubleshooting...

 

Attend my 60-minute "Be your Own TAC: Part Deux" Presentation
Exclusively at CPX 2025 Las Vegas Tuesday Feb 25th @ 1:00pm

View solution in original post

0 Kudos
4 Replies
Daniel_
Advisor
0 Kudos
Timothy_Hall
Legend Legend
Legend

You might be able to get this info via a run-script call invoking the following "one-liner"; I've never tried this in a VSX environment but it should be supported:

https://community.checkpoint.com/t5/Security-Gateways/One-liner-for-Address-Spoofing-Troubleshooting...

 

Attend my 60-minute "Be your Own TAC: Part Deux" Presentation
Exclusively at CPX 2025 Las Vegas Tuesday Feb 25th @ 1:00pm
0 Kudos
Daniel_
Advisor

Thanks Timoty!

The "one-liner" is working on VSX just in VS0 (in my case). I saw in the script it uses $FWDIR/state/local/FW1/local.set. With

$ grep -E '\(eth|\(bond|:has_addr' $FWDIR/state/local/FW1/local.set |grep -E '^|false'

I could extract the information I need. Not very pretty but good enough for me. Thanks again!

0 Kudos
PhoneBoy
Admin
Admin

VS objects for VSX do not have API support.

In R82, we are introducing VSnext, which is the replacement for VSX.
In VSnext, VSes are regular gateway objects, which have API support.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events