beautypg.com

FUJITSU M8000 User Manual

Page 238

background image

setnetwork(8)

216

SPARC Enterprise Mx000 Servers XSCF Reference Manual • Last Revised August 2009

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. The following addr form is accepted:

xxx.xxx.xxx.xxx

xxx

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. The specified value is a set of four integer
values delimited by the "." (period). The following address form
is accepted:

xxx.xxx.xxx.xxx

xxx

An integer from 0–255. Zero suppression can
be used to specify the integer.

Specifying the loopback address (127.0.0.0/8), the network
address, or a broadcast address, it results in errors.

This manual is related to the following products: