CLI show session all filter - negation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

CLI show session all filter - negation

L4 Transporter

Hello

 

I need to show all session with destination IP 2.2.2.2 from all my worstation but not from my 1.1.1.1

 

How to do that?

Negation using "!"  doesnt work (works perfectly in GUI)

 

show session all filter source !1.1.1.1 destination 2.2.2.2

 

Regards

SLawek

4 REPLIES 4

Community Team Member

Hi @_slv_,

 

You can use except in CLI.  

 

show session all filter destination 2.2.2.2 | except 1.1.1.1

 

Hope this helps !

-Kiwi

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

L4 Transporter

Hi @kiwi

 

Unfortunetelly "show session all filter destination 2.2.2.2 | except 1.1.1.1" doesnt show session id.

I need to see all sessions and its id's to troubleshoot it further.

 

Regards

Slawek

Community Team Member

Hi @_slv_,

 

If you filter out that specific host and there are no other session IDs visible then I guess that there are no other sessions that match your filter.

 

Cheers !

-Kiwi,

LIVEcommunity team member, CISSP
Cheers,
Kiwi
Please help out other users and “Accept as Solution” if a post helps solve your problem !

Read more about how and why to accept solutions.

L4 Transporter

Hi @kiwi

 

Problem is that there is many other session and I need to exclude that one IP from source.

 

 

Regards

Slawek

  • 2964 Views
  • 4 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!