Appendix B - Telnet (Terminal) Commands
97
Hardware Reference Manual – DXLink™ Twisted Pair Transmitters/Receiver
SET IP
Sets the IP configuration of a specified device.
Enter a Host Name, Type (
DHCP
or
Fixed
), IP Address, Subnet Mask, and Gateway IP Address.
IMPORTANT:
Host Names may only contain ASCII letters “a” through “z” (not case-sensitive), digits
“0” through “9”, and the hyphen (“-”).
NOTE:
DHCP implie
s “DHCP with link-local fallback”.
NOTE:
For NetLinx Masters, the Host Name can only consist of alphanumeric characters.
• Enter Y (yes) to approve/store the information on the Master.
• Enter N (no) to cancel the operation.
NOTE:
This command requires a reboot to enable new settings.
Example:
>SET IP
--- Enter New Values or just hit Enter to keep current settings ---
Enter Host Name: DXL-RX-36d0110
Enter IP type. Type D for DHCP or S for Static IP and then Enter: DHCP
You have entered: Host Name DXL-RX-36d0110
Type DHCP
Is this correct? Type Y or N and Enter -> y
Settings written. Device must be rebooted to enable new settings.
NOTE:
DXLink Modules can also be set to Static IP or DHCP Mode via the front panel
ID Pushbutton.
SET LOCATION
Sets the location parameter for NDP.
Syntax:
SET LOCATION <location>
• Maximum length = 25 characters. If the name entered exceeds 25 characters, it will be truncated.
NOTE:
This command requires a reboot to enable new settings.
SET TELNET PORT
Sets the device’s IP port listened to for Telnet connections.
Example:
>SET TELNET PORT
Current telnet port number = 23
Enter new telnet port number (Usually 23)(0 = disable Telnet):
Once you enter a value and press the Enter key, you get the following message:
Setting telnet port number to 23
New telnet port number set, reboot the device for the change to take effect.
NOTE:
This command requires a reboot to enable new settings.
IMPORTANT:
If you set the Telnet port to “0” to disable it, you will need to reset it with a
SEND_COMMAND in NetLinx Studio (see page 79).
SET TELNET USERNAME
NOTE:
This command is supported but is not presently in the Help file list of commands.
Sets the Username for a secure Telnet session.
Default = blank (no username required)
For details, see page 92.
SET TELNET PASSWORD
NOTE:
This command is supported but is not presently in the Help file list of commands.
Sets the Password for a secure Telnet session.
• Default = blank (no password required)
• For details, see page 92.
SHOW CONNECTION LOG
Shows the Master connection log for the device.
SHOW CONNECTION
STATS
Shows the connection statistics for the device.
Output similar to the following example:
>show connection stats
Connection Statistics
Total Last 15 Minutes
===== ===============
ICSP Messages: 10039 received 333 received
10038 transmitted 333 transmitted
Blink Messages: 5014 received 166 received
IP Statistics:
RX packets:29298 errors:0 discarded:0
TX packets:15286 errors:0 discarded:0
Telnet Commands