cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
676
Views
0
Helpful
4
Replies

Adding devices to DCR by mask

m.sobolev
Level 1
Level 1

Hello, please help me to add group of devices by mask: 10.10.xxx.62.

Is it possible to automate?

4 Replies 4

yjdabear
VIP Alumni
VIP Alumni

Probably, via "/opt/CSCOpx/bin/dcrcli cmd=imp fn=/path/to/device-list.csv ft=csv", mostly depending on what nifty stuff you do generating "device-list.csv".

Is it possible to automate discovery in this range?

Maybe there's a better way in LMS 3.x, but with LMS 2.x, you can always have a script "ping sweep" the target IP ranges, then only dump those IPs that respond to pings to the "device-list.csv" that dcrcli will import from.

You can do this in LMS 3.0.1 and higher. LMS 3.0.1 has a Device Discovery feature which will allow you to ping sweep a given network range, then import all SNMP-reachable devices into DCR. Versions of LMS prior to 3.0.1 only support a CDP discovery. You can still limit the network discovery to a certain range, but all devices in that range must be connected via CDP.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: