setnetwork(8)
System Administration 173
■ To reflect information on the specified network interface, execute the
applynetwork(8) command and reset XSCF.
EXAMPLES
EXAMPLE 1 Sets the IP address 192.168.10.10 and net mask 255.255.255.0 for XSCF-
LAN#0 on XSCF unit 0.
EXAMPLE 2 Sets the IP address 192.168.10.10 and net mask 255.255.255.0 for XSCF-
LAN#0 on XSCF unit 0 in the midrange system.
EXAMPLE 3 Disables XSCF-LAN#1 on XSCF unit 0.
EXAMPLE 4 Sets the IP address 192.168.10.128 on ISN on the XSCF unit 0. By default,
255.255.255.0 is set for the net mask.
EXAMPLE 5 Sets the IP address 192.168.11.10 and net mask 255.255.255.0 for XSCF-
LAN#0 on XSCF unit 1.
EXAMPLE 6 Sets the IP address192.168.1.10 and net mask255.255.255.0 for thetakeover
IP address of XSCF-LAN#0.
EXIT STATUS The following exit values are returned:
SEE ALSO applynetwork(8), shownetwork(8)
XSCF> setnetwork xscf#0-lan#0 -m 255.255.255.0 192.168.10.10
XSCF> setnetwork lan#0 -m 255.255.255.0 192.168.10.10
XSCF> setnetwork xscf#0-lan#1 -c down
XSCF> setnetwork xscf#0-if 192.168.10.128
XSCF> setnetwork xscf#1-lan#0 -m 255.255.255.0 192.168.11.10
XSCF> setnetwork lan#0 -m 255.255.255.0 192.168.1.10
0 Successful completion.
>0 An error occurred.