4.5.1
Primary Setup Tool via the Command Line
Syntax
You can al
The syntax is as follows; optional parameters are shown in square brackets:
s7
wnpstx MAC address -DHCP[=client ID]
s7
wnpstx MAC address -RESET
s
7wnpstx MAC address IP address subnet mask [router address]
s
7wnpstx -NAME=station name [index network adapter][INC]
The following table explains the parameters:
Co
mmand
MAC address
-DHCP
client ID
-RESET
IP add ss
re
subnet mask
Router address
-NAME
station nam
e
Index netw
ork adapter
INC
Operating Instructions SCALANCE W78x
C79000-G8976-C184-07
Configuring the IP Address with the Primary Setup Tool
so use the Primary Setup Tool from the command line of a DOS prompt.
The MAC address of the module to
be configured.
Specifies that the IP address is
obtained from a DHCP server.
A u
nique identifier for the device. If
this parameter is not specified, the
Primary Setup Tool uses the M
address as the ID.
Sets the IP address to 0.0.0.0 .
The ne
w IP address of the module to
be con
figured.
The new subnet mask of the module
to be configured.
The new IP address of the default
router.
Parameter for setting the station
name.
The station name assigned to the
module. Maximum length 255
characters (letters, numbers, slash,
hyphen, and underscore).
The index of the network ada
The default is "0".
Identifier for a network component.
Description
AC
pter.
Comment
Optional.
Optional.
Optional.
Optional.
56