Appendix C - DGX_SHELL Commands
251
Enova Digital Media Switchers - Hardware Reference Manual
Basic DGX_SHELL Commands (Cont.)
clear
This command is used to clear the terminal screen.
Usage:
clear
date
This command displays both run-time clock and system time information and the time of the last NTP (Network Time
Protocol) update.
• rtc is the time held by the real time clock chip. The last updated is the beginning of unix time.
• systime (system time) is the time known by the coldfire and is generated locally.
Usage:
date
echo
This command is used to print a string back to the terminal.
Usage:
echo "string"
Example:
DGX_SHELL> echo "Hello World!"
Hello World!
history
This command is used to display a list of previously invoked commands.
Usage:
history
ifconfig
This command displays network interface information for private and public networks.
Usage:
ifconfig {-e <interface>}
Interface:
0
(Private Network) or
1
(Public Network)
Example:
DGX_SHELL> ifconfig
Ethernet Port 0 MAC 00:d0:47:01:10:4d
link up
state: 3
ipaddr 198.18.128.1
ipmask 255.255.0.0
gateway 198.18.0.1
Ethernet Port 1 MAC 00:d0:47:01:10:c3
link up
state: 1
ipaddr 0.0.0.0
ipmask 0.0.0.0
gateway 0.0.0.0
log
This command is used to view and manage system logs. Contact Technical Support for usage.
logtail
This command is used to display log content and is filterable by logger, level, and number of entries.
Usage:
logtail {-s} {-l <level>} {-n <log name>} {-e <entries> | -a}
Options:
-s Lists all loggers and levels.
-l Filters output by log entry level. If not specified, defaults to DEBUG.
1 - FATAL -only fatal entries are output
2 - ERROR
3 - WARN
4 - INFO
5 - DEBUG - all entries are output
-n Text name of logger(s) to tail. If not specified, defaults to all loggers.
-e Outputs from most recent specified entries. If not specified, defaults to 0 (zero).
-a (All) outputs from oldest entry
manage
This command allows the firmware version to be rolled back to either a previous version or the factory version.
Usage:
manage firmware
Example:
DGX_SHELL> manage firmware
Current Version: 3.0.1
Previous Version: UNAVAILABLE
Factory Version: UNAVAILABLE
To install a firmware version:
Enter P (Previous), F (Factory) or press return to cancel: