applynetwork(8)

EXAMPLE 2 On the midrange server, reflects the information that has been set for the XSCF network. Automatically answers "y" to all prompts.

XSCF> applynetwork -y

The following network settings will be applied:

xscf#0 hostname

:hostname-0

DNS domain name

:example.com

nameserver

:10.23.4.3

interface

:xscf#0-lan#0

status

:up

IP address

:10.24.144.214

netmask

:255.255.255.0

route

:-n 0.0.0.0 -m 0.0.0.0 -g 10.24.144.1

interface

:xscf#0-lan#1

status

:down

IP address

:

netmask

:

route

:

Continue? [yn] :y

Please reset the XSCF by rebootxscf to apply the network settings. Please confirm that the settings have been applied by executing showhostname, shownetwork, showroute and shownameserver after rebooting the XSCF.

 

EXAMPLE 3 Reflects the information that has been set for the XSCF network. Suppress-

 

 

es prompts, and automatically answers "y" to all prompts.

 

XSCF> applynetwork -q -y

EXIT STATUS

The following exit values are returned:

 

0

Successful completion.

 

>0

An error occurred.

SEE ALSO

rebootxscf(8), sethostname(8), setnameserver(8), setnetwork(8), setroute(8)

20

XSCF Reference Manual • Last Revised June 2007