cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
644
Views
0
Helpful
4
Replies

XML Config Example

lfrc8554
Level 1
Level 1

Hi,

Can someone send me an example of posting XML commands to the CSM? For example setting a real to 'no inservice'.

Thanks!

1 Accepted Solution

Accepted Solutions

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

View solution in original post

4 Replies 4

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

Syed,

This is great...

Would you also know how to format this post with curl?

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

THANKS

Getting Started

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: