- Products
- Learn
- Local User Groups
- Partners
- More
MVP 2026: Submissions
Are Now Open!
What's New in R82.10?
Watch NowOverlap in Security Validation
Help us to understand your needs better
CheckMates Go:
Maestro Madness
Does anyone know the syntax to remove a DHCP relay destination via the Clish CLI?
currently have this in place
set dhcp server interface LAN5 relay relay-to 10.10.10.10 secondary 10.20.10.10 tertiary 10.30.10.10 quaternary 10.40.10.10
need to remove the server 10.20.10.10 from the list, leaving only 3 relays
I can do this
set dhcp server interface LAN5 relay relay-to 10.10.10.10 secondary 10.30.10.10 tertiary 10.40.10.10
but still leaved the quaternary setting resulting in this
set dhcp server interface LAN5 relay relay-to 10.10.10.10 secondary 10.30.10.10 tertiary 10.40.10.10 quaternary 10.40.10.10
From the web interface the 4th entry can be blanked out, however ideally would like to avoid having to use the web interface as we need to update multiple gateways for which we intend intend creating a script using cprid_util to update the configuration.
The R81.10.x cli guide does not provide any clues
https://sc1.checkpoint.com/documents/SMB_R81.10.X/CLI/EN/Content/Topics/set-dhcp-relay.htm
Maybe one below the section for dhcp server?
Andy
No, that does not appear to work
if I try to delete the dhcp server interface setting I get this
GATEWAY1> delete dhcp server interface LAN5
Incomplete command
GATEWAY1> delete dhcp server interface LAN5 relay
^
Bad parameter starting at 'relay'
GATEWAY1>
command completion indicates the only accepted parameter for the delete command is exclude-range as below...
GATEWAY1> delete dhcp server interface LAN5 exclude-range
I meant this, but not sure if thats right one.
Andy
That is applicable if you have a) configured the gateway as a DHCP server, and b) set a custom option for the server. it it does not apply to removing a DHCP relay.
Let me spin up demo point lab later and will test this.
Andy
Give me 1 hour or so, just creating the lab at the moment, will try test it soon.
Andy
I see what you mean @Greg_Harbers . I tested in tech point lab and got exact same thing. There is no save config in smb, so I assume when you run any commands, it simply saves it right away, but even though I typed only 3 servers 2mnd time, still shows 4th one I did 1st time, 4.4.4.4, as confirmed with commands I ran. Let me see if I can try figure it out. Maybe someone else may have an idea...
Andy
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 5 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
Fri 12 Dec 2025 @ 10:00 AM (CET)
Check Mates Live Netherlands: #41 AI & Multi Context ProtocolTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Fri 12 Dec 2025 @ 10:00 AM (CET)
Check Mates Live Netherlands: #41 AI & Multi Context ProtocolTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!About CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY