applynetwork(8)

EXAMPLE 2 On the midrange server, resets XSCF to reflect 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

:

The XSCF will be reset. Continue? [yn] :y

 

EXAMPLE 3 Resets XSCF to reflect the information that has been set for the XSCF net-

 

 

work. Suppresses 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

sethostname(8), setnetwork(8), setroute(8)

20

XSCF Reference Manual • Last Revised January 2007