beautypg.com

Command descriptions – Siemens DataNET Hub (DNH) User Manual

Page 80

background image

72

•••• Command Summary

2000585-001

Command Descriptions,

Continued

This command sets the address of the IP router to which the hub-half
should send IP messages whose destinations do not reside on the hub’s
own network. Your network administrator can help you choose appropri-
ate router addresses for your DataNET hubs (a router address is not al-
ways required). Addresses are entered in “dotted-decimal” notation. For
example:

config iproute 192.10.6.1

The router address is automatically stored in the hub-half’s non-volatile
memory when you enter this command. You can display the current
router address with the config display command.

DataNET hubs may be configured to request time and date information
from a DataNET time server. To do this, enter the non-zero IP address of
the time server with this command. When so configured, each time the
hub powers up or resets, and every 24 hours thereafter, it will request
the current local time and data from the designated time server. The
command has the following form:

config timeserver 192.10.6.2

When a hub receives a reply to a time server request, it will update its
local clock with the received time. Note that hub boards include their own
non-volatile clock. Thus, if a hub board loses contact with the time
server, it will maintain its own time and date, even across resets of power
cycles.

A hub’s time and date may also be manually configured (see date com-
mand below).

Without an input argument, date displays the current date and time, as
known by the hub-half. Otherwise, date sets the hub-half’s current date
and time according to the input argument. The date command has the
following form:

date yyyymmddhhmm

The argument part yyyy is the four digits of the year; the first mm is the
month number; dd is the day number in the month; hh is the hour num-
ber (24 hour system); the second mm is the minute number; and .ss (op-
tional) specifies seconds.

For example, to set the date to Oct 8, 12:45 AM, type

date 199810080045

“config iproute”
Command

“config timeserver”
Command

“date” Command