Go to main content

Configuring and Managing Network Components in Oracle® Solaris 11.3

Exit Print View

Updated: December 2017
 
 

Restoring an Exported Profile Configuration

You can import a profile configuration that was generated with the export subcommand back into the system. The exported file has a series of subcommands that the netcfg command is capable of interpreting. The export subcommand is useful if you need to restore a profile configuration or copy a profile configuration to another system. Note that you can only restore a profile configuration by using the netcfg command-line mode.

Use the following command to restore an exported configuration:

$ netcfg -f file

For example, you would restore the file that was exported in Example 30, Exporting a Profile Configuration to a File as follows:

$ netcfg -f myncp2
Configuration read.