- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
member criteria
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-19-2019 05:29 PM
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]
Solved! Go to Solution.
Re: member criteria
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2019 10:59 AM
$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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2019 01:52 AM
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