System Administration Commands netstrategy(1M)
NAME
netstrategy - return network configuration information
SYNOPSIS
/sbin/netstrategy
DESCRIPTION
The 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:
These tokens are described as follows:
Type of filesystem that contains the bootable kernel, as
would be specified in the fstype column of the
mnttab(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 of rarp, dhcp, or none.
The netstrategy command is not intended for use on a command
line.
OPTIONS
The netstrategy command has no options.
EXIT STATUS
0 Success.
!=0 An error occurred.
SunOS 5.11 Last change: 5 May 2007 1
System Administration Commands netstrategy(1M)
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsr
Interface Stability Evolving
SEE ALSO
ifconfig(1M), mnttab(4), attributes(5)
SunOS 5.11 Last change: 5 May 2007 2
|