Fujitsu M5000 Security Camera User Manual


 
setnetwork(8)
System Administration 171
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
Net mask
An IP address and net mask 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 net mask. If the -m option is omitted, the net mask
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.