Fortinet white logo
Fortinet white logo

online help

Saving the Alcatel-Lucent source configuration file

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

  1. 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.
  2. Open a command terminal.
  3. Log on to an SMS administrator account that has access to the target group.
  4. In the command line, type: lsmslogon <admin> <outputDirectory>.

    In this example, the admin account is "dunxingzhang". The output directory is C:\users\dunxingzhang\.

  5. Run the Perl script in the command line by typing: perl extractConfig.pl <systemGroup> all
  6. 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

  7. 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.
  8. Congratulations!

    You have successfully extracted your Lucent Brick configuration.

  9. Compress all the directories as a zip file.

Saving the Alcatel-Lucent source configuration file

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

  1. 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.
  2. Open a command terminal.
  3. Log on to an SMS administrator account that has access to the target group.
  4. In the command line, type: lsmslogon <admin> <outputDirectory>.

    In this example, the admin account is "dunxingzhang". The output directory is C:\users\dunxingzhang\.

  5. Run the Perl script in the command line by typing: perl extractConfig.pl <systemGroup> all
  6. 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

  7. 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.
  8. Congratulations!

    You have successfully extracted your Lucent Brick configuration.

  9. Compress all the directories as a zip file.