DCR in CS

Answered Question
Aug 8th, 2007

Hi

Any idea is there any file where i can read standard credentials what i have set to devices.(E.G.passwords)

thanks

Juha

I have this problem too.
0 votes
Correct Answer by Joe Clarke about 9 years 3 months ago

Looks like this file is bad:

d:\LMS2.5\CSCOpx\objects\dcrimpexp\conf\Export_Format_CSV.xml

Please post it.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 4 (3 ratings)
Loading.
Joe Clarke Wed, 08/08/2007 - 03:52

You have to export your devices from DCR to get credentials in clear text. You can do this under Common Services > Device and Credentials > Device Management.

u346874_2 Wed, 08/08/2007 - 22:22

That was what I m looking for. Newer use tool like that. Now i think i have to edit file and tell what i want to export. But, when i try to open file Export_Format_XML.xml i get message like "The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.

XML document must have a top level element. Error processing resource 'file:///D:/LMS2.5/objects/dcrimpexp/conf/Export_Form..."

Is there any ready to use file E.g. if i want all credentials.

thanks

Juha

u346874_2 Thu, 08/09/2007 - 22:52

Hi

have you use that tool. If i choose that csv file for output file (Export_Format_CSV.xml ) i still get error message like "Reason: Parsing Error at line number 1 and in URI file:d:/LMS2.5/CSCOpx/objects/dcrimpexp/conf/Export_Format_CSV.xml.Refer d:/LMS2.5/CSCOpx/log/dcrimpexp.log for more information." I m not sure what i have to do.

What steps i have to do so that i can get those credentials.

Thanks

Juha

Joe Clarke Fri, 08/10/2007 - 06:36

It sounds like you're mixing things here. If all you want to do is see clear text credentials, go to Common Services > Device and Credentials > Device Management > Export. Choose the CSV format, and specify an output file. The resulting CSV file can be opened in a text editor or a spreadsheet program like Excel.

You do not need to reimport anything.

u346874_2 Sun, 08/26/2007 - 22:36

Hi

Now back on this after holidays.

Now i tryed again after i specifyed an output file named "testfile" I choose one device which gredentials i like to see in clear text.

I got error messageges.( see log ) I can found that file which i created but its empty.

What migth be wrong.

Thanks Juha

Attachment: 

Theres another way to skin this cat when the GUI blows up (which with 2.5-2.6 is not uncommon)

Use the command line tool dcrcli . Its your friend. I use it to export and import inventory between two clusters of Ciscoworks as well as create inventory lists that I reconcile with other network management systems (openview, opsware, concord)

syntax is "dcrcli -u (a username with admin rights)"

It'll prompt you for the account password and drop you at a "dcrcli>" prompt.

Type in exp fn= (path and file name to a writeable directory) ft=csv and hit enter.

Correct Answer
Joe Clarke Mon, 08/27/2007 - 07:48

Looks like this file is bad:

d:\LMS2.5\CSCOpx\objects\dcrimpexp\conf\Export_Format_CSV.xml

Please post it.

u346874_2 Mon, 08/27/2007 - 22:58

Hi and thanks for hint. The file was really bad(empty) I have another LMS 2.6 server and i copied the file from there and now the great export utility works. ; )

Juha

Actions

This Discussion