cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
778
Views
0
Helpful
1
Replies

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 1

Joe Clarke
Cisco Employee
Cisco Employee

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.