03-20-2017 09:13 AM
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,
Solved! Go to Solution.
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.
03-23-2017 09:56 AM