CLI Script Migration

Classic Switch to HiOS


Description

Configuration files created on Classic devices are not compatible with configuration files used on HiOS devices. It is not possible to take a configuration file from a Classic device and load it on to a HiOS device. Most customers who migrate from Classic to HiOS devices just recreate the configuration directly in the HiOS device using the web interface. This results in a new configuration file, which can be copied to their other HiOS devices. More experienced users will do the same thing, but using the command line interface. They will look at the Classic command, “translate” it to a HiOS command, and type it into the new device.

To assist in this conversion process, we developed the script migration tool. The tool automates what a person would have done. It looks at each Classic command, and translates it to a HiOS command.

In most cases a Classic CLI command can be translated or converted into a HiOS CLI command. But not all functions are configured identically, so there are some Classic commands which do not have an equivalent in HiOS. Also, there are sometimes differences in the order in which the commands must be entered. The script convertor cannot handle these differences. So after the conversion it provides a list of which commands could not be converted. The user must then convert these commands manually, and enter them into the new configuration file.

This is not a tool that will enable someone with no knowledge to convert configuration files. It just speeds up the process for experienced users.

Notes on use

  • In the "Classic Switch Configuration" field, enter or paste the CLI script to be migrated.
  • Alternatively, load the script from a directory:
    • Click the "Browse..." button and choose the path and the file name. Or:
    • In the "File Name" field, enter the path and the file name.
  • To enable conversion, mark "Accept terms and conditions" checkbox.
  • To convert the script to HiOS format, click the "Convert" button.
    Note: This process may take a few seconds.
    Note: During the conversion process, no configuration data is uploaded to our server.
  • Check the converted output carefully before applying the configuration to a device.

Note: This application is supported on the following web browsers: Google Chrome, Mozilla Firefox, Microsoft Edge.

Note: In order to display this application correctly, make sure that JavaScript is enabled on your web browser.