cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
497
Views
0
Helpful
2
Replies

SOAP selectCmDevice - need to search on subnet

alangfor
Level 1
Level 1

As far as I can tell, the only wildcard option in the Item field (where I'm putting my IP address as search criteria), is to put a '*' at the end of my string. This doesn't allow me to search small subnets where maybe the last octet I only want to match on values 4-7 for instance.

Does anyone know of a way to use either regular expression, or IPV4 subnet-based wildcarding in the selectCmDevice request?

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

Not aware of any additional wildcards.  If your example covers just 4 IPs, could you build out the IPs and submit them, e.g.:

SelectCmDevice

...

Items[4]:

Item: 192.168.0.4

Item: 192.168.0.5

Item: 192.168.0.6

Item: 192.168.0.7

I was afraid of that. The only problem is that it doesn't scale well and in reality I have thousands of subnets to potentially divide up. I appreciate the feedback on this one. Hopefully they include the concept of subnet sizing into the IPV4 search field in the future.