- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

NetMRI Config Search: Using >= operator against Device: OS Version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-20-2017 09:13 AM
Folks,
I was wondering how to properly use the >= operator with the "Device: OS Version" parameter when using Config Search. For example, how would NetMRI parse the following:
O/S Version: IOS-XE 03.03.05SE
I'm assuming it would ignore the "IOS-XE" and the "SE" portion, and just apply the operator against the numerical portion of the version, but when I search for the following:
"Device: OS Version" >= 03.04.00
NetMRI still returns hits for devices running 03.03.05SE.
Any help would be appreciated,
-Mark
Solved! Go to Solution.

Re: NetMRI Config Search: Using >= operator against Device: OS Version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-20-2017 02:26 PM
Re: NetMRI Config Search: Using >= operator against Device: OS Version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-23-2017 09:48 AM
John is the expert on this but I agree that OS version is a string. Since ">=" is for a numerical comparison, I don't see how it could work. You could compare via regex with something like /03\.\d[4-9]\.\d\d/ or whatever your definition of greater than might be.
Re: NetMRI Config Search: Using >= operator against Device: OS Version
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
03-23-2017 09:56 AM