In command-file mode, profile configuration information and commands are extracted from a file. The commands in the file are same as those that are used in the interactive mode and by specifying the export subcommand. The export subcommand when specified with the –f option, produces the file.
For example, the following command exports the current profile configuration to a file:
$ netcfg export -f /tmp/nwam.config
To import a profile configuration from a file, type the following command:
$ netcfg -f /tmp/nwam.config
You can also use the export subcommand interactively. For more information, see Exporting an ENM Configuration.