Import ACLI Command

After you create a CSV file that contains your Oracle® Enterprise Session Border Controller (E-SBC) configuration, you can import the file into the E-SBC using the following command:

spl load acli config-csv <filename>

This command loads the CSV file from the volatile file system (/ramdrv/ for 4500), (/var/ for NN-ESD), into the editing configuration of the E-SBC.

Before You Begin
  • You must have a CSV file already created that contains the new configuration data that you want to import.
  • Initiate the delete-config cached command to clear the current editing configuration before importing to prevent conflicts.
Procedure
  1. Access the E-SBC locally through the console connection or remotely through a TELNET or SSH connection.
  2. Transfer the CSV file using FTP or SFTP to the volatile file system on the E-SBC (/ramdrv/for 4500), (/var/ for E-SBC).
  3. At the prompt, type the applicable password for entering the ACLI, and press Enter. For example:
    Password: acme
  4. Enter enable to access the Superuser mode, followed by the password, and press Enter. For example:
    NN-ESD> enable
    Password: packet
    NN-ESD#

    Note:

    The passwords used above are the default passwords for the ACLI. These passwords may have been changed by your System Administrator. Contact your System Administrator for more information.
  5. At the prompt, type delete-config cached to clear the current editing configuration on the E-SBC.

    NN-ESD# delete-config cached

  6. Type spl load acli config-csv <filename>, and press Enter. For example:

    NN-ESD# spl load acli config-csv esd-config.csv

    The NN-ESD imports the CSV file, containing the configuration you specified, into the editing configuration of the E-SBC OS.

  7. Type save, and press Enter.
  8. Typeactivate, and press Enter. The imported configuration data becomes part of the editing configuration on the E-SBC.

    Note:

    If you need to undo the import, initiate the restore-backup-config running command. This command restores the editing configuration that existed before you performed the import.

    The following code block shows an example of the imported configuration.

    sip-interface
    	state enabled
    	realm-id public
    	description public SIP interface
    	sip-port
    		address 192.168.1.1
    		port 5060
    		transport-protocol UDP
    	sip-port
    		address 192.168.1.1
    		port 5061
    		transport-protocol TCP

    Note:

    If you need to undo the import, initiate the restore-backup-config running command. This command restores the editing configuration that existed before you performed the import.