Wednesday, January 9, 2013

How to save XML results files from Switch Lists

This question has come up frequently from people who are using Managed Switch Port Mapping Tool v2.x in Switch List mode (this mode means two or more switches are mapped in succession).

To make individual XML files for each switch as it goes, go to the Switch List Editor and make sure 'save switch results as xml files after each switch mapping' is checked. This setting is different for each separate switch list and should be on by default.

Next, change your command line to:
spmap.exe -maplist TheSwitchListName -postexit

This tells the app to map the named list and exit when complete.

Here is the part people have a problem with: The files will be saved to either My Documents or the last used directory you saved XML files to from the menu.

You can override the path manually by mapping any switch or reloading results from history, then right click and select Export XML. Save the results to the directory you want everything to go to. When you run the switch list, it will save in that last location.

The XML filenames will have the format:
switch-ip_a.ip_b.ip_c.ip_d-unixTimestamp.xml

Please be aware that the command line option  -xml D:\switch.xml only works for a single switch.

This will be documented more fully in a subsequent release. You can get the application at http://www.SwitchPortMapper.com/

No comments: