FUJITSU SPARC ENTERPRISE M9000 User Manual
Page 266
setnetwork(8)
242
SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised April 2010
OPTIONS
The following options are supported:
OPERANDS
The following operands are supported:
-c
{up|down}
Specifies whether to enable the specified network interface. One
of the following values can be specified. If none of them is
specified, an error occurs.
up
Enables the network interface.
down
Disables the network interface.
-h
Displays usage statement. When used with other options or
operands, an error occurs.
-m
addr
Specifies a netmask. To specify addr, use the standard form of
four integer values delimited by "." (periods). For example, use
xxx.xxx.xxx.xxx, where xxx is an integer from 0-255. Zero
suppression can be used to specify the integer.
If the -m option omitted, one of the following netmask values is
set depending on the address specified in the address operand:
■
If
the address specified is class A (e.g. 20.1.1.1), the netmask
value 255.0.0.0 is set.
■
If the address specified is class B (e.g. 136.18.1.1), the netmask
value 255.255.0.0 is set.
■
If the address specified is class C (e.g. 200.18.108.1), the
netmask value 255.255.255.0 is set.
-n
Automatically answers "n" (no) to all prompts.
-q
Suppresses all messages to stdout, including prompts.
-r
Removes the IP address and netmask of the network interface.
-y
Automatically answers "y" (yes) to all prompts.
address
Specifies an IP address. To specify address, use the standard form
of four integer values delimited by "." (periods). For example,
use xxx.xxx.xxx.xxx, where xxx is an integer from 0-255. Zero
suppression can be used to specify the integer.
You cannot specify the loopback address (127.0.0.0/8), the
network address, a broadcast address, or class D or E (224.0.0.0 -
255.255.255.255) address.