Reply
Highlighted
Accepted Solution

member criteria

rmjuaid
Techie
Posts: 10
171     0

Hi,

 

I have an issue creating a a Group specifically for Router.

This criteria results in all devices being found:

$Type in ["Router","Switch-Router",]

This device criteria does not Exclude any router out this range :

$IPAddress in [10.0.0.0/16,10.130.0.0]

Does anyone see what is wrong with the reg expression for the second criteria?

$Assurance > 75 
and 
$Type in ["Router","Switch-Router",]
and 
$Model in ["2811", "2951", "2921", "3945", "3925", "ISR4451", "3945SPE250",]
and
$IPAddress in [10.0.0.0/8,10.130.0.0] 

Re: member criteria

Ingmar Community Manager
Community Manager
Posts: 58
172     0
$Assurance > 75 AND $Type in ["Router","Switch-Router"] AND $Model in ["2811", "2951", "2921", "3945", "3925", "ISR4451", "3945SPE250"]
AND $IPAddress in [10.0.0.0/8] 

You had extra "," at the end of your lists and the 10.130.0.0 network is contained within 10.0.0.0/8 so it does not need to be specified.

Re: member criteria

rmjuaid
Techie
Posts: 10
172     0

Hi mr.Ingmar

 

The  answer will be this 

$Assurance > 75 
and 
$Type in ["Router","Switch-Router",]
and 
$Model in ["2811", "2951", "2921", "3945", "3925", "ISR4451", "3945SPE250",]
and
$IPAddress in [10.0.0.0/9,10.130.0.0] 

becasue what I need is the range of ip addresses from 10.0 - 10.130 only 

 

Thankes

 

Showing results for 
Search instead for 
Do you mean 

Recommended for You