|Skip Navigation Links|
|Exit Print View|
|Connecting Systems Using Reactive Network Configuration in Oracle Solaris 11.1 Oracle Solaris 11.1 Information Library|
In reactive network configuration, you can create and configure profiles and obtain information about them by using the netcfg and netadm commands. To configure your network connections through profiles, you can use the netcfg command. To administer and obtain the status of profiles (NCPs, locations, ENMs, and WLANs) and NCUs, the individual configuration objects that make up an NCP, you can use the netadm command. In addition, you can use the netadm command to interact with the network management daemon, nwamd, in the absence of a GUI.
The following are the tasks that you perform in a reactive networking environment:
Create a user-defined profile by using the netcfg create command. For information, see Creating User-Defined Profiles.
Set or modify one or all of the properties of a specified user-defined profile by using the netcfg set or netcfg walkprop command. For information, see Setting and Changing Property Values for a Profile and Viewing and Changing Property Values by Using the walkprop Subcommand.
Delete any changes that were made to a profile and revert to the previous configuration for that profile by using the netcfg revert command.
List all of the profiles that exist on a system and their property values by using the netcfg list command. For information, see Listing All of the Profile Configuration Information on a System.
List all of the property values for a specified profile by using the netcfg list command. For information, see Displaying the Current State of a Profile.
List each property that is associated with a profile by using the netcfg get command. For information, see Obtaining the Value of a Specific Property.
Verify that a profile has a valid configuration by using the netcfg verify command.
Commit the current profile specification to persistent storage and also verify that a profile has a valid configuration by using the netcfg commit command.
Remove a user-defined profile by using the netcfg destroy command. For information, see Removing Profiles.
Note - You cannot create or destroy a system-defined profile.
Export the current configuration for a user-defined profile to standard output or a file by using the netcfg export command. For information, see Exporting and Restoring a Profile Configuration.
Note - You cannot export any system-defined profiles. System-defined profiles include the Automatic and DefaultFixed NCPs and the Automatic, NoNet, and DefaultFixed locations.
Enable and disable a specified profile by using the netadm enable and netadm disable commands. For information, see Enabling and Disabling Profiles.
List all of the available profiles and their current states by using the netadm list command. For information, see Displaying Information About Profile States.
Listen to and display a stream of events from reactive networking by using the netadm show-events command. For information, see Monitoring the Current State of All Network Connections.
Initiate a wireless scan for a specified link and select a wireless network to connect to from the scan results on that specified link by using the netadm scan-wifi and netadm select-wifi commands. For information, see Performing a Wireless Scan and Connecting to Available Wireless Networks.
For all task-related information, see Chapter 2, Creating and Configuring Reactive Network Profiles (Tasks) and Chapter 3, Administering Your Reactive Network Configuration (Tasks).
Note - For NCUs, the set of properties that you can view or modify by using the netcfg command is limited. You can use the ipadm and dladm commands to create, view, or modify all possible link and interface properties of the currently active NCP. However, for reactive NCPs, the netcfg command must be used to modify an NCU's activation conditions.
For more information about the ipadm and dladm commands, see Chapter 4, Working With IP Interfaces, in Connecting Systems Using Fixed Network Configuration in Oracle Solaris 11.1 and Chapter 3, Working With Datalinks, in Connecting Systems Using Fixed Network Configuration in Oracle Solaris 11.1.
You can use the netcfg command in interactive mode, command-line mode, or command-file mode. Because the netcfg command is hierarchical, it is more easily understood when used in interactive mode. For more information about the different modes, see Configuring Profiles by Using the netcfg Command.