![background image](http://html.mh-extra.com/html/amx/dvx-21xxhd/dvx-21xxhd_webconsole-and-programming-manual_2937827106.webp)
Terminal (Program Port/Telnet) Commands
106
NetLinx Integrated Controllers (Firmware v4)- WebConsole & Programming Guide
If the directory or file is not valid (i.e. it does not exist at the time you entered the path), the NetLinx Master will ask you
whether you were intending to grant access to a file or directory. From the answer, it will enter the appropriate Directory
Association. The NetLinx Master will not create the path if it is not valid. That must be done via another means, most
commonly by using an FTP client and connecting to the FTP server on the NetLinx Master.
Default Security Configuration
By default, the NetLinx Master will create the following accounts, access rights, directory associations, and security options.
Account 1: User Name: administrator
Password: password
Group: administrator
Rights: All
Directory Association: /*
Account 2: User Name: NetLinx
Password: password
Group: none
Rights: FTP Access
Directory Association: none
Group 1: Group: administrator
Rights: All
Directory Association: /*
Security Options: FTP Security Enabled
Admin Change Password Security Enabled
All other options disabled
The
administrator
user account cannot be deleted or modified with the exception of its password. Only a user with "Change
Admin Password Access" rights can change the administrator password.
The
NetLinx
user account is created to be compatible with previous firmware versions.
The
administrator
group account cannot be deleted or modified.
The
FTP Security
and
Admin Change Password Security
are always enabled and cannot be disabled.
NOTE:
Refer to the SET SECURITY PROFILE
for information on setting Security Profiles.
Telnet Diagnostics Commands
The following Telnet Diagnostics Commands provide visibility to remote Masters, in order to determine the current state of
operations, and are provided as diagnostic/troubleshooting tools. While these commands are available for any user to execute,
their output is interpretable primarily by an AMX Technical Support Engineer.
Logging Out of a Terminal Session
NOTE:
It is very important to execute the 'logout' command prior to disconnecting from a Master. Simply removing the RS-232
connector from the Program Port maintains your logged-in status until you either return to logout via a new session or reboot the
target Master.
Telnet Diagnostics Commands
Command
Description
REBOOT HEAP WATCH
This command causes the Master to reboot into a Heap Watch mode, where every memory allocation is
tracked back to a task running in the Master. This option may be useful in cases where a remote Master is
indicating a continuous loss of memory. With Heap Watch enabled, AMX Technical Support may be able to
track exactly which task is losing the memory.
SPY
SPY STOP
The SPY and SPY STOP interfaces are provided by VxWorks; AMX has made it available to the user.
• SPY lists out all of the tasks running in the Master and their CPU usage, refreshing every 10sec.
• SPY is very similar to a Windows Task Manager output.
This option may be useful in cases where a remote Master seems to be running but very slowly. Enabling SPY
might indicate if a specific task is using up the CPU. SPY can also be useful in detecting infinite loops in
NetLinx or Duet/Java code, since the Interpreter or Java threads will show that they’re using all of the CPU.
PHYSICAL STATUS
This command reports the current state of the Master’s Status, Output and Input LEDs, in order to
troubleshoot a remote Master. For example, if PHYSICAL STATUS indicates that the Input LED always shows
‘1’ (or ON), it could indicate that the Master is being hammered by incoming events.
MSG STATS
This command collects messages statistics for the Interpreter over a 10 second period by calculating the
number of event messages that have been processed. This can be useful as a debugging/diagnostics tool to
determine if the NetLinx Interpreter is running and how many messages it’s processing.