|Skip Navigation Links|
|Exit Print View|
|Managing Oracle Solaris 11.1 Network Performance Oracle Solaris 11.1 Information Library|
The ilbadm export subcommand exports the current ILB configuration to a user-specified file. This information can then be used as input for the ilbadm import subcommand.
The ilbadm 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 stdin or write to stdout.
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 the contents of the file, /var/tmp/ilb_config, and overrides the existing configuration:
# ilbadm import-config /var/tmp/ilb_config