Hi - I am trying to imports sections of config to a new WSA s100v. Unfortunately, no matter what I do, I cannot import from a config XML file.
I tried to export the existing config I wanted to copy - which is from a fully working production WSA. I only really want to import particular sections, but I cant figure out how. No method of importing the config I need works.
If I try to import the entire XML config file from an exported config, it throws up an error every single time - I can't work out why, since the XML I am loading is one that I grabbed from a working WSA - and I made sure I selected the option to NOT encrypt passwords (since it clearly states that this will break any imports).
However, this gives me an error:
Configuration File was not loaded. Parse Error on element "snmp" line number 303 column 9 with value "None": The trap target must be host name, IP address or list of IP addresses separated by commas.
I cannot work out why this is a problem, since it works fine on the production WSA. I tried to correct this in the XML file, by finding the offending SNMP section and changing the value, but then it kept throwing different errors.
For reference, both WSA's are on the same version.
The next thing I tried was to copy/paste the specific section of config I wanted to apply - in this case, it was a Log Subscription configuration, as follows:
<log_w3c_accesslog>
<name>Symantec_Logs</name>
<retrieval>
<ftp_push>
<filename>w3c_log_hostname</filename>
<hostname>syslog.domain.com</hostname>
<login_username>ciscoironport</login_username>
<password></password>
<directory>/</directory>
<rollover>
<rolloversize>104857600</rolloversize>
</rollover>
</ftp_push>
</retrieval>
<formatter_settings>
<filter_status_codes></filter_status_codes>
<log_type>0</log_type>
<w3c_fields>%t %a %F %<Referer: %<User-Agent: %<X-Forwarded-For: %g %q %y %c %U %Y %A %P %v %H %d %k %p %s %h %w %W %V %D %e %Xh %Xd %Xj %Xr %XF %Xv %Xs %Xn %E %X#1# %X#2# %X#3# %X#4# %X#5# %X#6#</w3c_fields>
</formatter_settings>
<log_level>3</log_level>
</log_w3c_accesslog>
When I paste this into the field for importing a config, it then gives me the following error:
Configuration File was not loaded. ERROR: Element 'log_w3c_accesslog' not declared at Unknown:1:19 Text:
So my questions(s) are:
- Does this work?
- Is it possible to load partial sections of config to save masses of clicking and replicating work (I need to deploy 3 more of these!!)
- What am I doing wrong?
Many thanks!