Programming
53
Metreau Keypads Instruction Manual
Terminal Commands (Cont.)
Command
Description
GET IP
Displays the IP configuration of a device.
The device displays it’s D:P:S, host name, type (
DHCP
or
Static
), IP address, subnet mask, gateway
IP, and MAC address.
Example:
>GET IP
HostName MLK-INSTRUCTOR
Type DHCP
IP Address 192.168.21.101
Subnet Mask 255.255.255.0
Gateway IP 192.168.21.2
MAC Address 00:60:9f:90:0d:39
GET LOCATION
Displays the location parameter for NDP (set by
the
SET LOCATION
command on page 55).
GET SN
Returns the device’s serial number
INFO
Provides at-a-glance information about the keypad including any expansion keypads that are
attached to it.
MSG [ON|OFF]
Enables/Disables extended diagnostic messages.
• MSG On [error|warning|info|debug] sets the terminal program to display log messages
generated by the Master.
The level of log printed to the terminal window depends both on the level used when sending the
message and the output level selected with "msg on."
For example if log output is enabled via "msg on warning" then logs produced at levels
AMX_ERROR and AMX_WARNING will be displayed, but not logs produced at levels AMX_INFO or
AMX_DEBUG.
The order of severity from highest to lowest is ERROR, WARNING, INFO, DEBUG.
If no severity is supplied with "msg on", the default setting is WARNING.
• MSG OFF disables the display.
Example:
> MSG ON
Extended diagnostic information messages turned on.
> MSG OFF
Extended diagnostic information messages turned off.
NDP UNBIND
Clears the NDP binding to a master (takes effect after next boot).
PING [ADDRESS]
Pings an address (IP or URL), to test network connectivity to and confirms the presence of another
networked device.
The syntax matches the PING application in Windows or Linux.
Example:
>ping 192.168.29.209
192.168.29.209 is alive.
REBOOT
Reboots the keypad.
Example:
>REBOOT
Rebooting...
RENEW DHCP
Renews/Releases the current DHCP lease for the keypad.
Example:
>RENEW DHCP
RESET FACTORY
Resets the device’s stored parameters to factory default state including removal of all security set-
tings, resetting to DHCP.
This command will cause an automatic reboot.
NOTE:
This command does not reset the device to the factory software image.
SET CONNECTION
Set the master connection settings interactively, allowing the user to specify the mode.
• If mode is TCP or UDP, the master URL and port number can be specified as well.
• If AUTO is selected, the System number can be specified.
• After all data is entered, if the parameters have changed, the Module will disconnect from the
Master, and begin trying to connect with the new settings.
NOTE:
These changes do not require a reboot to take effect.