Batch modification of DCR device properties

Unanswered Question
Apr 25th, 2007
User Badges:
  • Gold, 750 points or more

Some of the DCR devices retain the part in their display names while havinig the domain name field empty. What's the quickest way to get these fixed up, without exporting/re-importing, if possible?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Joe Clarke Wed, 04/25/2007 - 07:52
User Badges:
  • Cisco Employee,
  • Hall of Fame,

    Founding Member

Without exporting/importing? I'd script dcrcli to do this. Basically the flow would be:

lsids all (get all DCR IDs and display names)

for each display name that does not end in

mod id= dn=


This Discussion