beautypg.com

Datesetfromrtc, Command on – ADIC SNC 5100 User Manual

Page 124

background image

SNC 5100

116

Commands

6-00020-02

The local Real Time Clock can also be synchronized with a remote timeserver
See the

rtcSetCurrent

command.

SN60023 > date

SN60023 > THU JAN 25 20:32:49 2001

SN60023 >

dateSetFromRTC

The

dateSetFromRTC

command sets the SNC 5100’s RTC as the source of

the date display. Use the

date

command to display the date and time.

SN60023 > dateSetFromRTC

value = 0 = 0x0

SN60023 >

diagBoot

This command is used only to transition the SNC 5100 from normal operation
to the special diagnostic mode. The

diagBoot

command first ensures that the

ffs:mt directory exists. It verifies that the files diagnstk.o and diagnstk.rc are in
the flash file system. If they are in the root directory, it moves them to the ffs:mt
directory.

It copies the existing bootline to a file in the ffs:mt directory on the SNC 5100
and installs a new bootline directing the SNC 5100 to boot using a special
diagnostic startup script ffs:mt/diagnstk.rc. It renames the persistent map file
config/device.map as config/device.bak (a new file will be generated after
rebooting).

Finally,

diagBoot

issues a

reboot

command to put the changes into effect

Caution

After completing use of the diagnostic commands, use the

normalBoot

command to restore your system to normal operation.

diagHelp

The

diagHelp

command displays a list of the diagnostic commands.

SN60023 > diagHelp

** Diagnostic commands: Available in Diagnostic Mode Only **

elTest

Test Ethernet port w/loop-back cable

fcSlotTest Test specified Fibre Channel port