Configuring and Administering Network Components in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014
 
 

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 6–14 as follows:

$ netcfg -f myncp2
Configuration read.