| Skip Navigation Links | |
| Exit Print View | |
![]() | man pages section 1M: System Administration Commands Oracle Solaris 11 Information Library |
- return network configuration information
/usr/sbin/netstrategy
Thenetstrategy command determines the network configuration strategy in use on asystem and returns information in a form that is easily consumable bya script. The command returns three tokens:
<root filesystem type><primary interface><network config strategy>
These tokens are described as follows:
Type of filesystem that contains the bootable kernel, as would be specified in thefstype column of themnttab(4).
Name of the primary network interface. For a diskless machine, this is the interface used to load the kernel.
The means by which a system obtains its IP address for booting. This can be one ofrarp,dhcp, ornone.
Thenetstrategy command is not intended for use on a command line.
Thenetstrategy command has no options.
Success.
An error occurred.
Seeattributes(5) for descriptions of the following attributes:
|
Copyright © 2011, Oracle and/or its affiliates. All rights reserved.Legal Notices | ![]() ![]() |