Programming
54
Metreau Keypads Instruction Manual
Terminal Commands (Cont.)
Command
Description
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.
NOTE:
“DHCP” implies “DHCP with link-local fallback".
NOTE:
For NetLinx Masters, host names may contain only the ASCII letters 'a' through 'z' (in a
case-insensitive manner), the digits '0' through '9', and the hyphen ('-').
• Enter Y (yes) to approve/store the information into 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: MLK_INSTRUCTOR
Enter IP type. Type D for DHCP or S for Static IP and
then Enter: DHCP
Enter Gateway IP: 192.168.21.2
You have entered: Host Name MLK_INSTRUCTOR
Type DHCP
Gateway IP 192.168.21.2
Is this correct? Type Y or N and Enter -> y
Settings written. Device must be rebooted to enable
new settings.
NOTE:
Metreau keypads can also be set to Static IP or DHCP Mode by using the ID Pushbutton.
See the Toggling Between IP Addressing Modes: DHCP and Static IP
details.
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 <Enter>, 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.
Enabling/Disabling Telnet on the Keypad
section on page 55 for additional information.
SET TELNET USERNAME
Set the user name for a secure Telnet session.
• Default = blank (no user name required)
• See the
Setting a Telnet User Name and Password
section on page 50 for details.
SET TELNET PASSWORD
Set the Password for a secure Telnet session.
• Default = blank (no password required)
• See the
Setting a Telnet User Name and Password
section on page 50 for details.
SHOW CONNECTION LOG
Show the master connection log for the device
SHOW CONNECTION STATS
Show 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