Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Location is not clear where file is put after export a conf file from CW

am trying to export running config of my device using Ciscowork servlet (xml).. it is successfully executed. but am not able to find that in which folder exactly putting the saved file.(I did grep on file name)

Ultimate goal of mine is to copy that config to my local machine so that I can chk in the conf file to my CVS.

am using following script

set query "<payload>

<command>

cwcli config get -u $usr -p $pass -ipaddress myRouter

</command>

</payload>"

set response [http::geturl https://RME_server:443/rme/cwcli -query $query]

set output [http::data $response]

set query "<payload>

<command>

cwcli config export -u $usr -p $pass -ipaddress myRouter

</command>

<arg>

-f

</arg>

<arg-val>

arb.cfg

</arg-val>

</payload>"

set response [http::geturl https://RME_server:443/rme/cwcli -query $query]

set output [http::data $response]

set query "<payload>

<command>

cwcli config get -u admin -p $pass -device Ind_Router_Inet

</command>

</payload> "

1 REPLY
Cisco Employee

Re: Location is not clear where file is put after export a conf

You should specify a fully-qualified path to the file. That path must be writable by casuser. Without a path, the config will be exported to /var/adm/CSCOpx/files/rme/cwconfig on Solaris and NMSROOT\files\rme\cwconfig on Windows.

106
Views
0
Helpful
1
Replies
CreatePlease to create content