|Skip Navigation Links|
|Exit Print View|
|System Administration Guide: IP Services Oracle Solaris 11 Express 11/10|
The export subcommand exports the current configuration to a user-specified file. This information can then be used as input for the import subcommand. The import subcommand deletes the existing configuration before importing unless specifically instructed to retain it. Omission of a file name instructs the command to read from standard input or write to standard output.
To export an ILB configuration, use the export-config command. The following example exports the current configuration into the file, /var/tmp/ilb_config, in a format suitable for importing by using the import subcommand:
# ilbadm export-config /var/tmp/ilb_config
To import an ILB configuration, use the import-config command. The following example reads configuration contents of the file, /var/tmp/ilb_config, and overrides the existing configuration:
# ilbadm import-config /var/tmp/ilb_config