9 .Nd Manage system configuration parameters
14 .Fl r Bro "" Ar nodename | Ar address | Ar local-address remote-address "" Brc
17 .Fl w Ar dynamic-store-key Op Fl t Ar timeout
23 .Fl -set Ar pref Op Ar newval
28 Invoked with no options,
30 provides a command line interface to the
34 Interaction with this data (using the SystemConfiguration.framework
35 SCDynamicStore APIs) is handled with a set of commands read from
37 A list of the available commands is available by entering the
43 option provides a means of checking the network reachability of a host, an IP
44 address, or a pair of local and remote IP addresses.
47 is a term that indicates whether network communication is possible between
48 the current host and the specified host.
52 option provides a means of checking for (and optionally waiting for the
53 creation of) a dynamic store key.
59 options provide a means of reporting and updating a select group of
60 persistent system preferences.
64 .\"option provides a means of managing the system's network configuration.
67 .It Fl r Bro "" Ar nodename | Ar address | Ar local-address remote-address "" Brc
68 Check the network reachability of the specified host name, IP address, or a
69 pair of local and remote IP addresses.
70 One or more of the following strings will be reported to standard output.
72 .Bl -tag -width "Transient Connection"
74 The specified nodename/address cannot be reached using the current network
77 The specified nodename/address can be reached using the current network
79 .It Transient Connection
80 The specified nodename/address can be reached via a transient (e.g. PPP)
82 .It Connection Required
83 The specified nodename/address can be reached using the current network
84 configuration but a connection must first be established.
85 As an example, this status would be returned for a dialup connection
86 that was not currently active but could handle network traffic for the
88 .It Connection Automatic
89 The specified nodename/address can be reached using the current network
90 configuration but a connection must first be established.
91 Any traffic directed to the specified name/address will initiate the
94 The specified nodename/address is one associated with a network interface
96 .It Directly Reachable Addresss
97 Network traffic to the specified nodename/address will not go through a
98 gateway but is routed directly to one of the interfaces on the system.
101 A zero exit status will be returned when the reachability status is reported correctly.
102 A non-zero exit status will be returned if errors are detected with an error reported to standard error.
103 .It Fl w Ar dynamic-store-key Op Fl t Ar timeout
104 Check if the specified key exists in the
110 will return with a zero exit status.
113 will wait for the specified time for the key to be established.
114 A non-zero exit status will be returned if the key was not created within the specified time.
117 will wait indefinitely if a timeout of 0 seconds is specified.
118 The default timeout is 15 seconds.
120 Retrieves the specified preference. The current value will be reported on standard output.
122 Supported preferences include:
125 .It Fl -set Ar pref Op Ar newval
126 Updates the specified preference with the new value.
127 If the new value is not specified on the command line then it will be read from standard input.
129 Supported preferences include:
135 option requires super-user access.
137 .\"Provides a command line interface to the
138 .\".Qq network configuration .
139 .\"Interaction with this data (using the SystemConfiguration.framework
140 .\"SCNetworkConfiguration APIs) is handled with a set of commands read
141 .\"from standard input. A list of the available commands is available
142 .\"by entering the help directive.
146 .\"option requires super-user access.
153 command appeared in Mac OS X Public Beta.