Fujitsu M4000 Life Jacket User Manual


 
setnetwork(8)
System Administration 193
NAME setnetwork - configure a network interface using by XSCF
SYNOPSIS setnetwork [-m addr] interface address
setnetwork -c {up | down} interface
setnetwork -h
DESCRIPTION setnetwork(8) command configures a network interface using by XSCF.
The following settings can be made for the specified network interface:
Whether to enable or disable the network interface.
IP address
Netmask
An IP address and netmask become valid immediately after being set.
Privileges You must have platadm privileges to run this command.
Refer to setprivileges(8) for more information.
OPTIONS The following options 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. If the -m option is omitted, the netmask
corresponding to address is set. 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.