setnetwork(8)
System Administration 245
■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 netmask 255.255.255.0 for XSCF-LAN#0
on XSCF unit 0.
EXAMPLE 2 Sets the IP address 192.168.10.10 and netmask 255.255.255.0 for XSCF-LAN#0
on XSCF unit 0 in an M3000/M4000/M5000 server.
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 netmask.
EXAMPLE 5 Sets the IP address 192.168.11.10 and netmask 255.255.255.0 for XSCF-LAN#0
on XSCF unit 1.
EXAMPLE 6 Sets the IP address 192.168.1.10 and netmask 255.255.255.0 for the takeover IP
address of XSCF-LAN#0.
EXAMPLE 7 Removes the IP address and netmask that set in XSCF-LAN#0 on XSCF unit 0
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
XSCF> setnetwork -r xscf#0-lan#0
You specified '-r' interface remove option.
So, we delete routing information that interface corresponds.
Continue? [y|n] :y
If you choose 'y'es, you must execute 'applynetwork' command for
application.
Or you choose 'y'es, but you don't want to apply, you execute 'rebootxscf'
for reboot.