- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
04-29-2019 04:44 AM
Hi,
I wonder if it is possible to create a run a user defined script from our VM-100's CLI.
The script should switch Policies / Authentication / <my CP profile> to 'web-form'
- and do 'clear session all filter from ClassNet '
If this is possible how do I switch on the auth policy and save / run the script from CLI?
Thanks a lot for help on this
regards Tor
04-29-2019 11:05 AM
Hello,
This is not possible via the CLI. The PAN is a hardend appliance and limits the commands. The PAN does have an API interface that you might be able to use to accomplish what you need.
Regards,
04-29-2019 11:05 AM
Hello,
This is not possible via the CLI. The PAN is a hardend appliance and limits the commands. The PAN does have an API interface that you might be able to use to accomplish what you need.
Regards,
04-29-2019 03:26 PM
Thanks for the info.
As of the
clear session all filter from <zone>
.. can I also filter it further so it only targets a specific user or a user group?
regards Tor
04-30-2019 12:10 AM
Hi @LCMember4427 ,
You can clear sessions based on the following filters :
admin@PA-200> clear session all filter + application Application name + ctd-ver ctd version + decrypt-forwarded session is decrypt forwarded + destination destination IP address + destination-port Destination port + destination-user Destination user + dos-rule DoS protection rule name + from From zone + hw-interface hardware interface + min-age minimum age in seconds + min-kb minimum KB of byte count + nat If session is NAT + nat-rule NAT rule name + pbf-rule Policy-Based-Forwarding rule name + protocol IP protocol value + qos-class QoS class + qos-node-id QoS node-id value + qos-rule QoS rule name + rule Security rule name + source source IP address + source-port Source port + source-user Source user + ssl-decrypt session is decrypted + state flow state + to To zone + tunnel-decap session is outer tunnel with inspection enabled + tunnel-inspected session is inside tunnel + type flow type
Cheers !
-Kiwi.
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!