beautypg.com

Example 1, Example 2, Example 1 example 2 – Comtrol Hub DeviceMaster User Manual

Page 85

background image

DeviceMaster Installation and Configuration Guide: 2000594 Rev. A

DeviceMaster Security - 85

Example 1

Example 1

The following example shows how to monitor output using a loopback plug and a
program that repeatedly sends the string abcABC123 to Port 1:

dm> monitor 1

Serial monitoring started for port 1 -- press [Enter] to stop.

> 61 62 63 41 42 43 31 32 33

< 61 62 63 41 42 43 31 32 33

> 61 62 63 41 42 43 31 32 33

< 61 62 63 41 42 43 31 32 33

> 61 62 63 41 42 43 31 32 33

< 61 62 63 41 42 43 31 32 33

> 61 62 63 41 42 43 31 32 33

< 61 62 63 41 42 43 31 32 33

Example 2

The following example shows how the -a option enables displaying of ASCII
representation of data in a column to the right the hex representation:

dm> monitor -a 1

Serial monitoring started for port 1 -- press [Enter] to stop.

> 61 62 63 41 42 43 31 32 33 > abcABC123

< 61 62 63 41 42 43 31 32 33 < abcABC123

> 61 62 63 41 42 43 31 32 33 > abcABC123

< 61 62 63 41 42 43 31 32 33 < abcABC123

> 61 62 63 41 42 43 31 32 33 > abcABC123

< 61 62 63 41 42 43 31 32 33 < abcABC123

> 61 62 63 41 42 43 31 32 33 > abcABC123

< 61 62 63 41 42 43 31 32 33 < abcABC123

> 61 62 63 41 42 43 31 32 33 > abcABC123

< 61 62 63 41 42 43 31 32 33 < abcABC123

> 61 62 63 41 42 43 31 32 33 > abcABC123

< 61 62 63 41 42 43 31 32 33 < abcABC123

(Continued
from the
previous page
)

Enable
Monitoring
Secure Data via
Telnet

securemon [enable|disable]

By default, monitoring of TX/RX data when in Secure Data
Mode
is not allowed through telnet (an insecure protocol).
This command allows you to override that default when
securemon is enabled it will allow monitoring of secure data
via an insecure protocol like telnet.

Currently, because of issues with the DeviceMaster ssh
implementation, monitoring serial port data via the ssh
command-line interface is not supported. It is expected that
it will be supported in the future. Once it is supported, the
securemon setting will not affect the ability to monitor secure
data via ssh (which will always be allowed).

Enable Telnet/ssh

This option enables or disables the telnet security feature after
you click Save and the DeviceMaster has been rebooted. This
option is enabled by default.

Enable SNMP

This option enables or disables the SNMP security feature after
you click Save and the DeviceMaster has been rebooted. This
option is enabled by default
.

Security

Option

Description

This manual is related to the following products: