Does it exist a CLI command that close all active sessions for a Zone?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Does it exist a CLI command that close all active sessions for a Zone?

L3 Networker

Hi,

 

The subject says it all, and I need to run it when switching on Captive Portal to restrict internet for a school...

 

Thanks for comments on this.

 

regards  Tor

1 accepted solution

Accepted Solutions

L7 Applicator

Yep, you can do that in one command, depending on if it's a source zone ("from") or destination zone ("to"):

 

 

> clear session all filter from MySourceZoneName 
> clear session all filter to MyDestZoneName

 

View solution in original post

3 REPLIES 3

L7 Applicator

Yep, you can do that in one command, depending on if it's a source zone ("from") or destination zone ("to"):

 

 

> clear session all filter from MySourceZoneName 
> clear session all filter to MyDestZoneName

 

Thanks 🙂

Just to be sure:  There is *no way* to do the same from the web interface..?

regards Tor

Nope.

 

Only one at a time through the session browser. You could also do it using the CLI command with XML-API (or REST API on 9.0), but not the GUI.

  • 1 accepted solution
  • 3676 Views
  • 3 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

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!