Terminal (Program Port/Telnet) Commands
98 NI Series WebConsole & Programming Guide
Terminal Commands (Cont.)
Command Description
SET DNS <D:P:S> Sets up the DNS configuration of a device.
This command prompts you to enter a Domain Name, DNS IP #1,
DNS IP #2, and DNS IP #3.
Then, enter Y (yes) to approve/store the information in the Master.
Entering N (no) cancels the operation.
Note: The device must be rebooted to enable new settings.
Example:
>SET DNS [0:1:0]
-- Enter New Values or just hit Enter to keep current
settings --
Enter Domain Suffix: amx.com
Enter DNS Entry 1 : 192.168.20.5
Enter DNS Entry 2 : 12.18.110.8
Enter DNS Entry 3 : 12.18.110.7
You have entered: Domain Name: amx.com
DNS Entry 1: 192.168.20.5
DNS Entry 2: 12.18.110.8
DNS Entry 3: 12.18.110.7
Is this correct? Type Y or N and Enter -> Y
Settings written. Device must be rebooted to enable
new settings
SET DUET MEMORY Set the amount of memory allocated for Duet Java pool. This is the
current Java memory heap size as measured in Megabytes. This
feature is used so that if a NetLinx program requires a certain size of
memory be allotted for its currently used Duet Modules, it can be
reserved on the target Master.
Valid values are:
• 2 - 8 for 32MB systems
• 2 - 36 for 64MB systems.
This setting does not take effect until the next reboot.
Note: If you are trying to accomplish this setting of the Duet Memory
size via a NetLinx program, the program command
"DUET_MEM_SIZE_SET(int)" should call REBOOT() following a set.
SET ETHERNET MODE <CMD> This command sets the current ethernet configuration settings -
auto OR speed = 10 | 100, duplex = full | half
Example:
set ethernet mode auto
set ethernet mode speed=100 duplex=full
Note: See GET ETHERNET MODE.
SET FTP PORT Enables/Disables the Master’s IP port listened to for FTP connections.
Note: The Master must be rebooted to enable new settings.
Example:
>SET FTP PORT
FTP is enabled
Do you want to enable (e) or disable (d) FTP (enter e or d):
FTP enabled, reboot the master for the change to take affect.
SET HTTP PORT Sets the Master’s IP port listened to for HTTP connections.
Note: The Master must be rebooted to enable new settings.
Example:
>SET HTTP PORT
Current HTTP port number = 80
Enter new HTTP port number (Usually 80) (0=disable HTTP):
Setting HTTP port number to
New HTTP port number set, reboot the master for the change
to take affect.