Enhanced Security Measures in Place:   To ensure a safer experience, we’ve implemented additional, temporary security measures for all users.

How to filter rule by subnet

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

How to filter rule by subnet

L2 Linker

 

Hi there,

 

I'm trying to filter the rules via subnet.  Is this possible ?  I've tried copying (addr in '10.10.10.0/24') from a working log filter search and that doesn't seem to work.  There's no filter builder like the log search box so i can just use that to figure this out. This is not very intuative.

 

is it even possible to filter rules by Subnet or host IP address  ?

2 REPLIES 2

Cyber Elite
Cyber Elite

Hi

 

The search filter in the security policy is object based and can only be used to search for a string rather than a logical subnet

 

Instead of the 'addr in' you can use (source/member contains '10.10.10.') to look for a string match that corresponds to your subnet, this will however not include matches where the address field is 'any'

 

 

hope this helps

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

 

You could also try a search in the CLI, probably easier using the set CLI output. Not as convenient as the GUI but should work also.

  • 2112 Views
  • 2 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!