- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
Enhanced Security Measures in Place: To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.
09-10-2024 07:02 AM
Does anyone have the XML API syntax for the "request sc3 reset" commands on the local firewall.
If not I guess i will gather it with the debug cli on. But was hoping someone could save me a step 🙂
09-10-2024 06:21 PM
At first, this doc is helpful.
Here is my test result
1) Check API syntax
admin@PA-5410> debug cli on
admin@PA-5410> request sc3 reset
(container-tag: sc3 container-tag: reset pop-tag: pop-tag:)
((eol-matched: . #t) (confirmation-message: . WARNING: executing this command will reset SC3 state on this device. You will need to re-onboard the system (using an authkey). Do you want to continue?) (context-inserted-at-end-p: . #f))
WARNING: executing this command will reset SC3 state on this device. You will need to re-onboard the system (using an authkey). Do you want to continue? (y or n)
<request cmd="op" cookie="8284738022950153" uid="1001"><operations><request><sc3><reset/></sc3></request></operations></request>
2024-09-11 09:56:19
<response status="success"><msg>SC3 has been reset!
You need to restart mgmtsrvr to reinit SC3.</msg></response>
SC3 has been reset!
You need to restart mgmtsrvr to reinit SC3.
admin@PA-5410>
admin@PA-5410> debug software restart process management-server
(container-tag: sdebuoftware container-tag: restart leaf-tag: process value: management-server pop-tag: pop-tag:)
((eol-matched: . #t) (context-inserted-at-end-p: . #f))
<request cmd="op" cookie="1502434451239817" uid="1001"><operations><debug><software><restart><process>management-server</process></restart></software></debug></operations></request>
2024-09-11 09:53:22
#f
admin@PA-5410>
2) Check same command by curl. Looks this worked on my platform (PA-5410 v11.1.4)
curl --insecure -X POST "https://<my firewall IP>/api/?type=op&cmd=<request><sc3><reset/></sc3></request>&key=<my api key>"
curl --insecure -X POST "https://<my firewall IP>/api/?type=op&cmd=<debug><software><restart><process>management-server</process></restart></software></debug>&key=<my api key>"
09-10-2024 05:35 PM
Hi @JasonRakersKSS ,
Have you had any luck with debug cli on?
09-10-2024 06:21 PM
At first, this doc is helpful.
Here is my test result
1) Check API syntax
admin@PA-5410> debug cli on
admin@PA-5410> request sc3 reset
(container-tag: sc3 container-tag: reset pop-tag: pop-tag:)
((eol-matched: . #t) (confirmation-message: . WARNING: executing this command will reset SC3 state on this device. You will need to re-onboard the system (using an authkey). Do you want to continue?) (context-inserted-at-end-p: . #f))
WARNING: executing this command will reset SC3 state on this device. You will need to re-onboard the system (using an authkey). Do you want to continue? (y or n)
<request cmd="op" cookie="8284738022950153" uid="1001"><operations><request><sc3><reset/></sc3></request></operations></request>
2024-09-11 09:56:19
<response status="success"><msg>SC3 has been reset!
You need to restart mgmtsrvr to reinit SC3.</msg></response>
SC3 has been reset!
You need to restart mgmtsrvr to reinit SC3.
admin@PA-5410>
admin@PA-5410> debug software restart process management-server
(container-tag: sdebuoftware container-tag: restart leaf-tag: process value: management-server pop-tag: pop-tag:)
((eol-matched: . #t) (context-inserted-at-end-p: . #f))
<request cmd="op" cookie="1502434451239817" uid="1001"><operations><debug><software><restart><process>management-server</process></restart></software></debug></operations></request>
2024-09-11 09:53:22
#f
admin@PA-5410>
2) Check same command by curl. Looks this worked on my platform (PA-5410 v11.1.4)
curl --insecure -X POST "https://<my firewall IP>/api/?type=op&cmd=<request><sc3><reset/></sc3></request>&key=<my api key>"
curl --insecure -X POST "https://<my firewall IP>/api/?type=op&cmd=<debug><software><restart><process>management-server</process></restart></software></debug>&key=<my api key>"
10-07-2024 09:59 PM
Thank you so much for the help.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!