- 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
I see you can 'set services-tcp uid <UUID> protocol <protocol>' to add a protocol to a service, but is there a way to remove a protocol from a service? In SmartConsole, you set the protocol to -. I tried "None", "none", and a dash with no luck:
[Expert@DallasSA]# mgmt_cli -s session.txt -f json show service-tcp name testService
{
"uid" : "a10d3006-d85c-46de-b585-0112eb64ea5a",
"name" : "testService",
"type" : "service-tcp",
"domain" : {
"uid" : "41e821a0-3720-11e3-aa6e-0800200c9fde",
"name" : "SMC User",
"domain-type" : "domain"
},
"port" : "12345",
"protocol" : "DNS_TCP",
"match-by-protocol-signature" : false,
"override-default-settings" : false,
"session-timeout" : 3600,
"use-default-session-timeout" : true,
"match-for-any" : false,
"sync-connections-on-cluster" : true,
"aggressive-aging" : {
"enable" : true,
"timeout" : 600,
"use-default-timeout" : true,
"default-timeout" : 0
},
"keep-connections-open-after-policy-installation" : false,
"groups" : [ ],
"comments" : "",
"color" : "black",
"icon" : "Services/TCPService",
"tags" : [ ],
"meta-info" : {
"lock" : "locked by current session",
"validation-state" : "ok",
"last-modify-time" : {
"posix" : 1675031424431,
"iso-8601" : "2023-01-29T22:30+0000"
},
"last-modifier" : "WEB_API",
"creation-time" : {
"posix" : 1675031424431,
"iso-8601" : "2023-01-29T22:30+0000"
},
"creator" : "WEB_API"
},
"read-only" : false
}
[Expert@DallasSA]# mgmt_cli -s session.txt -f json set service-tcp uid a10d3006-d85c-46de-b585-0112eb64ea5a protocol "None"
{
"code" : "generic_err_invalid_parameter",
"message" : "Invalid parameter for [protocol]. No such protocol : [ None ]"
}
[Expert@DallasSA]# mgmt_cli -s session.txt -f json set service-tcp uid a10d3006-d85c-46de-b585-0112eb64ea5a protocol "none"
{
"code" : "generic_err_invalid_parameter",
"message" : "Invalid parameter for [protocol]. No such protocol : [ none ]"
}
[Expert@DallasSA]# mgmt_cli -s session.txt -f json set service-tcp uid a10d3006-d85c-46de-b585-0112eb64ea5a protocol "-"
{
"code" : "generic_err_invalid_parameter",
"message" : "Invalid parameter for [protocol]. No such protocol : [ - ]"
}
Hi @Bob_Zimmerman ,
We will add the option to remove a protocol by providing "none" in in the next release and in future HFA of previous versions (PMTR-90609).
Thanks,
Omer
Guessing that may not be something fully set table via the API.
@Omer_Kleinstern what say you?
Just checked 'show generic-object', and it shows the protoType property changing from 'null' to a UUID when I set it. I tried "null", both in quotes and out of quotes, and quotes around an empty string. None of these threw errors, but they also didn't change the object's protocol (as expected).
Wonder if you can use set generic-object to actually change the setting?
In any case, seems like a bug that this doesn't work correctly.
Hi @Bob_Zimmerman ,
We will add the option to remove a protocol by providing "none" in in the next release and in future HFA of previous versions (PMTR-90609).
Thanks,
Omer
Thank you! I'll monitor and update this thread when the option appears.
Leaderboard
Epsum factorial non deposit quid pro quo hic escorol.
| User | Count |
|---|---|
| 4 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
Tue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsTue 16 Dec 2025 @ 05:00 PM (CET)
Under the Hood: CloudGuard Network Security for Oracle Cloud - Config and Autoscaling!Thu 18 Dec 2025 @ 10:00 AM (CET)
Cloud Architect Series - Building a Hybrid Mesh Security Strategy across cloudsAbout CheckMates
Learn Check Point
Advanced Learning
YOU DESERVE THE BEST SECURITY