Seek command ending with "Seek:no models found" error when trying to fetch existing model.
Spectrum 21.X
Seek command has following format:
seek [-i] [-s] attr=attribute_id,val=value [lh=landscape_handle]
-i : ignore case sensitivity
-s : substrings allowed
1. From OC - Access the model - Attributes tab - and get the "model_name" and "modeltype_name" attribute values.
example from attributes tab:
2. Issue was because at client end, device model_name has more number of characters.
by default seek would display only 16 chars, and that can be increased by setting CLIMNAMEWIDTH (max 1024) environment variable.
3. Run below command to increase CLIMNAMEWIDTH:
Now run Seek command again, it will successfully fetch details.
4. Below are further examples of seek: