Adding devices to DCR by mask

Unanswered Question
Jul 10th, 2008

Hello, please help me to add group of devices by mask:

Is it possible to automate?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
yjdabear Thu, 07/10/2008 - 04:57

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".

yjdabear Thu, 07/10/2008 - 05:06

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.

Joe Clarke Thu, 07/10/2008 - 07:01

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.


This Discussion