Configure Direct Port Access Using CLI

The permitted TCP Port Range is 1024-64510. When run without the mode parameter, the system displays the current dpa type.

Enter admin > Config > Services > to access this menu.

Command

Description

Parameters

dpa

Enable direct port access

  • enable <true | false> - DPA access, enable (true), disable (false)
  • url <true | false> - DPA via URL, enable (true), disable (false)
  • loginstring <true | false> - Allow specifying DPA port in username when logging in, enable (true), disable (false)

dpaport

Configure the IP/SSH/telnet DPA ports for specified serial ports.

  • port <number | range | *> - Port(s) to view/modify (Single port or range of ports (1-n or 1,3,4 or * for all ports))
  • dpaip <ipaddress> - IP Address assigned for direct port access. 0.0.0.0 clears the setting.
  • telnet <port number> - TCP Port assigned for direct port access via Telnet. 0 clears the setting.
  • ssh <port number> - TCP Port assigned for direct port access via SSH. 0 clears the setting.

Anonymous Connections

You can establish an anonymous Direct Port Access connection via Telnet by typing anonymous, or pressing Enter at the username prompt. The anonymous connection is established without prompting for a password.

When establishing a Direct Port Access connection via SSH, entering the username anonymous is required. Once the username is entered, the password prompt is displayed. Press Enter.

Use the suppress parameter to configure the following messages to display or not display the first time SX II is accessed via anonymous Direct Port Access -

Escape Sequence is : <escape string> <true\false>

"You have read-only access to this port." OR "You are now master for the port."

If suppress is true, the above messages are not displayed and connected directly to the target prompt.

If suppress is false, the above messages are displayed.

See Also

Configure Device Settings Using CLI