Security

Reply
Occasional Contributor I

XML Device import into ClearPass 6.4

Below is an example of my XML file I am using to import devices into ClearPass 6.4.  There are actually over 1k devices in my final script, but this example shows one.  When I try to import, I get the error "Invalid XML tags, please export to see valid tags", which I've tried doing, but everything looks right.  What am I doing wrong?

 

Thanks!

 

 

<?xml version="1.0" encoding="UTF-8" standalone="true"?>
<TipsContents xmlns="http://www.avendasys.com/tipsapiDefs/1.0">
<TipsHeader version="6.4" exportTime="Wed Apr 01 08:54:02 EDT 2015"/>
<NadClients>
<NadClient ipAddress="10.1.0.22" radiusSecret="f0restc1ty" tacacsSecret="f0restc1ty" vendorName="Cisco" coaCapable="true" coaPort="3799" name="Arista-Higbee-7050S-TOR6-G11" description=""/>
</NadClients>
</TipsContents>

 

 

Guru Elite

Re: XML Device import into ClearPass 6.4

Try and take out the TIPS header line.

Tim Cappalli | Aruba Security TME
@timcappalli | timcappalli.me | ACMX #367 / ACCX #480
Occasional Contributor I

Re: XML Device import into ClearPass 6.4

Nope....still the same message. 

"File contains invalid XML tags. Try export to see the valid XML tags."

 

Re: XML Device import into ClearPass 6.4

Can you try changing the format to this:

<NadClients>
<NadClient description="" name="CISCO-SWITCH" coaPort="3799" coaCapable="true" vendorName="Cisco" tacacsSecret="" radiusSecret="" ipAddress="192.168.1.116"/>
</NadClients>
</TipsContents>

Thank you

Victor Fabian
Lead Mobility Engineer @ Integration Partners
AMFX | ACMX | ACDX | ACCX | CWAP | CWDP | CWNA
Occasional Contributor I

Re: XML Device import into ClearPass 6.4

Aarrgh.....no, same thing
New Contributor

Re: XML Device import into ClearPass 6.4

It hates null values.. either put something in the description or remove the description=""

Search Airheads
cancel
Showing results for 
Search instead for 
Did you mean: