Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

XML Device import into ClearPass 6.4

This thread has been viewed 9 times
  • 1.  XML Device import into ClearPass 6.4

    Posted Apr 01, 2015 11:40 AM

    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>

     

     



  • 2.  RE: XML Device import into ClearPass 6.4

    EMPLOYEE
    Posted Apr 01, 2015 11:42 AM
    Try and take out the TIPS header line.


  • 3.  RE: XML Device import into ClearPass 6.4

    Posted Apr 01, 2015 11:47 AM

    Nope....still the same message. 

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

     



  • 4.  RE: XML Device import into ClearPass 6.4

    Posted Apr 01, 2015 01:05 PM

    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>



  • 5.  RE: XML Device import into ClearPass 6.4

    Posted Apr 01, 2015 01:21 PM
    Aarrgh.....no, same thing


  • 6.  RE: XML Device import into ClearPass 6.4

    Posted Apr 16, 2015 09:19 AM

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



  • 7.  RE: XML Device import into ClearPass 6.4

    Posted Feb 01, 2018 03:10 AM

    Make sure the encoding of the xml-file is UTF-8.