Serial Setup Interface Commands . Orolia NetClock/GPS 9283
Advertisement
Advertisement
Spectracom Corporation Model 9283
6 Serial Setup Interface Commands
The NetClock can be configured using the serial setup interface port and a terminal emulation program as discussed in Section 3.2. At the Command Line Interface (CLI), the user can manage files and configure product settings.
The available CLI commands are as follows: time - time reboot - reboot [app] log - log COMMAND OBJECT [ HANDLE ] option - option COMMAND [OPTION | PRODUCT] [VALUE] ltc - ltc COMMAND [INDEX | NAME] [...] net - net COMMAND [Arguments] sys - sys COMMAND [Arguments] mdo - mdo COMMAND [Arguments] ser - ser COMMAND SERIAL [Arguments] rem - rem COMMAND REMOTE [Arguments] irig - irig COMMAND ARG frq - frq COMMAND INDEX [Arguments]
One additional command, help, displays the available commands at the CLI. Typing help and a specific command (for example, help time, or help option) and then pressing the enter key displays detailed information about the command.
NOTE: Commands typed at the CLI are case-sensitive. All terms and commands entered must be lower-case.
6.1 time
help time
Use the 'time' command to read the current system date and time.
USAGE: time
6.2 reboot
The reboot is used to warm-boot the unit without having to disconnect or reconnect the power supply. The reboot command is intended only for administrators, and is available at the admin security level.
NOTE: This command provides a convenient way to remotely update application software in that the unit will automatically execute the most recent image in /sys/bin/. help reboot
This command is used to immediately reboot a unit.
The 'app' option is used to restart the application. Normally the unit reboots to the application, unless the optional parameter is specified to 'bootloader' which it will reboot to the bootloader.
USAGE: reboot [app]
app - Reboot to application.
NetClock/GPS Instruction Manual 6-1
Model 9283 Spectracom Corporation
NOTE: Do not reboot the unit while file uploads are in progress. Do not reboot the unit with non-application images are located in /sys/bin/. If either of these conditions is not fulfilled, the unit may fail to boot the application image, which could result in a unit that function incorrectly or not at all.
6.3 log
help log
Use the 'log' command to access and manage the log system.
USAGE: log COMMAND OBJECT [ HANDLE ]
COMMAND
show - Shows the contents of a log.
get - Gets the record #[HANDLE] from a log.
OBJECT
j - Journal log
a - Alarm log
g - GPS qualification Log
o - Operational log
x - Oscillator log
d - Dialout log
n - NTP log
r - Event relay log
t - Authorization log
u - Update log
HANDLE : Record number to access. The first record is 0.
6.4 option
help option
The 'option' commands provide a means to set, clear and display product configuration options.
USAGE: option COMMAND [OPTION | PRODUCT] [VALUE]
COMMAND
display - Displays current option settings.
enable - Enables options after verifying the hash value.
6-2 NetClock/GPS Instruction Manual
Spectracom Corporation Model 9283
6.5 ltc
The ltc command is used to create up to five Local clocks. Local clocks allow many of the output ports to be able to provide time data as local time instead of just UTC time. This command requires admin level login. help ltc
The 'ltc' group of commands are used to manage the local time clocks.
USAGE: ltc COMMAND [INDEX | NAME] [...]
COMMAND = {disp | create | delete | tz | dst}
disp - Displays information about the local clock.
create - Creates a new local clock. Multiple consecutive spaces in the name will be reduced to a single space
delete - Deletes a local clock at the specified index.
tz - Assigns a new time zone offset for the local clock.
dst - Assigns a new daylight saving rule to the clock.
6.6 net
The command, net, is used to configure the network interface. The net command consists of a set of subcommands that are used to get, set or change each individual network setting. Some of the network settings require admin level security in order to set or change them. help net
The 'net' group of commands are used to manage network interface
USAGE: net COMMAND [Arguments]
COMMAND
config - Configure IP settings.
show - Displays network configurations.
daytime - Enable/disable Daytime.
time - Enable/disable UNIX time.
telnet - Enable/disable Telnet.
ftp - Enable/disable FTP
http - Enable/disable HTTP.
https - Enable/disable secure HTTP.
ssh - Enable/disable SSH.
6.7 sys
help sys
The sys group of commands are used to retrieve information about the system.
USAGE: sys COMMAND [Arguments]
COMMAND
mem - Display memory information. Use v for verbose mode.
NetClock/GPS Instruction Manual 6-3
Model 9283 Spectracom Corporation
6.8 mdo
The mdo command is used to configure the dial-out modem option if it is installed. The mdo command consists of a set of subcommands used to control logs and modem configuration. help mdo
The mdo group of commands are used to setup the modem.
USAGE: mdo COMMAND [Arguments]
COMMAND
mode - Sets the Serial Setup Interface into a 'console' or
'modem'
Baud rate can be specified in modem mode.
dialnow - Dials out immediately.
baud - Sets baud rate specified by user.
ITU-R protocols use 1200 and ACTS protocols use 9600. NIST ACTS may support either, however 9600 is recommended.
speaker - Sets modem speaker on/off.
6.9 ser
The ser command allows the rear panel Serial ports to be configured from the console. They require admin level login. help ser
The ser group of commands are used to setup serial ports RS-232.
USAGE: ser COMMAND SERIAL [Arguments]
COMMAND
disp - Displays the current serial port settings.
all - Configures all settings of a serial port.
fmt - Configures the format of the serial port output.
req - Sets the request character on a serial port.
ltc - Sets the reference clock on the serial output.
To add/configure local clocks, use command 'ltc'
baud - Configures the baud rate of a serial port.
6.10 rem
The rem command allows the rear panel Remote output(s) to be configured from the console port. This command requires admin level login to modify. help rem
The rem group of commands are used to setup remote serial ports RS485.
USAGE: rem COMMAND REMOTE [Arguments]
COMMAND
disp - Displays the current remote serial port settings.
all - Configures all settings of a remote serial port.
fmt - Configures the format of the serial port output
ltc - Sets the reference clock on the remote serial
output.
To add/configure local clocks, use command 'ltc'
baud - Configures the baud rate of a remote serial port.
6-4 NetClock/GPS Instruction Manual
Spectracom Corporation Model 9283
6.11 irig
help irig
The 'irig' group of commands are used to control the irig subsystem.
USAGE: irig COMMAND ARG
COMMAND = {disp | b | brb | e | amp | ltc | sig}
disp - Display the current IRIG port settings.
b - Sets the irig output to format B.
brb - Sets the irig output to format B Rubidium.(TTL level)
This option is only available on Rubidium units.
e - Sets the irig output to format E.
amp - Sets the amplitude level for AM signals.
ltc - Sets the reference clock for the IRIG output.
sig - Sets the signature control of the IRIG port.
6.12 frq
help frq
The frq group of commands are used manage frequency interfaces.
USAGE: frq COMMAND INDEX [Arguments]
COMMAND
mode - Sets the signature control mode.
status - Displays the status of the selected frequency
output.
NetClock/GPS Instruction Manual 6-5
Model 9283 Spectracom Corporation
6-6 NetClock/GPS Instruction Manual

Download
Advertisement