03-13-2007 02:49 PM
Hi,
Can someone send me an example of posting XML commands to the CSM? For example setting a real to 'no inservice'.
Thanks!
Solved! Go to Solution.
03-14-2007 02:04 AM
curl -v -H Connection:close -u cisco:cisco -d @filename 10.10.10.10/xml-config
where
10.10.10.10 is CSM IP
-v will print messages between device & CSM
-H is used to specify extra header
-u to specify user & password
hope it helps
Syed Iftekhar Ahmed
03-13-2007 04:03 PM
A simple XML file that would enable a real in Serverfarm will be
Then, to take the real out of service would be:
Hope it helps
Syed Iftekhar Ahmed
03-13-2007 08:09 PM
Syed,
This is great...
Would you also know how to format this post with curl?
03-14-2007 02:04 AM
curl -v -H Connection:close -u cisco:cisco -d @filename 10.10.10.10/xml-config
where
10.10.10.10 is CSM IP
-v will print messages between device & CSM
-H is used to specify extra header
-u to specify user & password
hope it helps
Syed Iftekhar Ahmed
03-14-2007 06:03 AM
THANKS
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: