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

Reply
Highlighted
L3 Networker

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

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

Tags (1)

Accepted Solutions
Highlighted
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


All Replies
Highlighted
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

Highlighted
L3 Networker

Thanks :-)

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

regards Tor

Highlighted
L7 Applicator

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.

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 Live Community as a whole!

The Live Community thanks you for your participation!