Man Page: netstrategy
Operating Environment: opensolaris
Section: 1m
netstrategy(1M) System Administration Commands netstrategy(1M)NAMEnetstrategy - return network configuration informationSYNOPSIS/sbin/netstrategyDESCRIPTIONThe netstrategy command determines the network configuration strategy in use on a system and returns information in a form that is easily consumable by a script. The command returns three tokens: <root filesystem type> <primary interface> <network config strategy> These tokens are described as follows: <root filesystem type> Type of filesystem that contains the bootable kernel, as would be specified in the fstype column of the mnttab(4). <primary interface> Name of the primary network interface. For a diskless machine, this is the interface used to load the kernel. <network config strategy> The means by which a system obtains its IP address for booting. This can be one of rarp, dhcp, or none. The netstrategy command is not intended for use on a command line.OPTIONSThe netstrategy command has no options.EXIT STATUS0 Success. !=0 An error occurred.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsr | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+SEE ALSOifconfig(1M), mnttab(4), attributes(5) SunOS 5.11 5 May 2007 netstrategy(1M)
| Related Man Pages |
|---|
| bootconfchk(1m) - osx |
| bootconfchk(1m) - osf1 |
| bootconfchk(1m) - x11r4 |
| bootconfchk(1m) - xfree86 |
| bootconfchk(1m) - posix |
| Similar Topics in the Unix Linux Community |
|---|
| Getting interface names using code |
| DEscribe this command |
| What should be hostname for second network interface? |
| ifconfig primary & standby purpose |
| How restart the network interface in AIX? |