Saving the Alcatel-Lucent source configuration file
Overview
This document provides a step-by-step guide for extracting your Lucent Brick configuration. Fortinet provides a Perl script, extractConfig.pl
that will read the Brick configuration and extract it into a data format that the FortiConverter can use. FortiConverter can then convert the Brick configuration into its FortiGate equivalent.
Prerequisites
Perl 5 needs to be installed on the machine for the script to run.
ActivePerl 5.16.3 was used for this example.
The machine also needs to have the Alcatel-Lucent CLI administration tools installed.
Example Procedure
- In this example, the target configuration is in the "lab" group, as shown in the SMS GUI tool screenshot below. FortiConverter needs configuration information from the Brick Devices, the Brick Zone Rulesets, the Host Groups, and the Service Groups.
- Open a command terminal.
- Log on to an SMS administrator account that has access to the target group.
- Run the Perl script in the command line by typing:
perl extractConfig.pl <systemGroup> all
- When it is completed, the output will be saved in the output directory designated in step 3. A directory is created for each category, and each object in a category is saved to its own text file.
- Compress all the directories as a zip file.
In the command line, type: lsmslogon <admin> <outputDirectory>
.
In this example, the admin account is "dunxingzhang
". The output directory is C:\users\dunxingzhang\
.
In this example, the target group is "lab
", and the script has been copied to the admin’s home directory, C:\Documents and Settings\dunxingzhang
.
The script will show its progress as it extracts each object and ruleset
Congratulations!
You have successfully extracted your Lucent Brick configuration.