beautypg.com

Network commands, Vii. command line interface (cli) protocol, Continued) – SurgeX CM-1115-RT-AR User Manual

Page 20

background image

CM-1115(20)-RT-AR User Manual

Page 19

VII. Command Line Interface (CLI) Protocol

(continued)

Network Commands

Command

Description

Admin

Fact Def

get network

Returns all network settings currently in use. Example:

Mode:

DHCP

IP Address: 10.1.2.69

Subnet: 255.255.255.0

Gateway: 10.1.2.1

HTTP Port: 80

Telnet Port: 23

DxP Port: 9100

Timeout: 20

Ok

Yes

set ipmode < static | dhcp >

Sets the IP address mode. Static mode locks the IP address as
set; DHCP mode allows a DHCP server to assign the address.

Yes

Static

set ipaddress < dotted decimal >

Sets the IP address.

Yes

192.168.1.254

set subnet < dotted decimal >

Sets the Subnet Mask.

Yes

255.255.255.0

set gateway < dotted decimal >

Sets the Gateway address.

Yes

192.168.1.1

set http port < 0-65535 >

Sets the port that the internal Web server listens for incoming
connections on. When set to 0 the web server is disabled. May
not be disabled when Telnet and DxP are both disabled.

Yes

80

set telnet port < 0-65535 >

Sets the port that the internal Telnet server listens for incoming
connections on. When set to 0 the Telnet server is disabled. May
not be disabled when Web and DxP are both disabled.

Yes

23

set dxp port < 0-65535 >

Sets the port that the internal DxP service listens for incoming
connections on. When set to 0 the DxP service is disabled. May
not be disabled when Web and Telnet are both disabled.

Yes

9100

set timeout < 0-999 >

Sets the automatic network timeout in minutes.

Yes

2