Lantronix xDirect xDirect - User Guide - Page 66

Table 11-3, Command Response Codes, Response, Meaning, Command, continued, Command Name, Function

Page 66 highlights

11: Monitor Mode Command (continued) co Command Name Function Set IP address, host bits, gateway, and DNS server IP Example: co 192.168.0.10 8 192.168.0.1 10001 192.168.1.10 with 192.168.0.10 = IP address of the xDirect 8 = number of host bits 192.168.0.1 = gateway IP address 10001 = port number of the xDirect 192.168.1.10 = IP address of the DNS Server The xDirect stores the setup and performs a reset. It sends an X before the reset if the command was OK. Note: Entering any of the commands listed above generates one of the following command response codes: Table 11-3 Command Response Codes Response 0> 1> 2> 8> 9> Meaning OK; no error No answer from remote device Cannot reach remote device or no answer Wrong parameter(s) Invalid command xDirect User Guide 66

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

11: Monitor Mode
xDirect User Guide
66
Note:
Entering any of the commands listed above generates one of the following
command response codes:
Table 11-3
Command Response Codes
co
Set IP address, host
bits, gateway, and DNS
server IP
Example:
co 192.168.0.10 8 192.168.0.1 10001 192.168.1.10
with
192.168.0.10 = IP address of the xDirect
8 = number of host bits
192.168.0.1 = gateway IP address
10001 = port number of the xDirect
192.168.1.10 = IP address of the DNS Server
The xDirect stores the setup and performs a reset. It
sends an
X
before the reset if the command was OK.
Response
Meaning
0>
OK; no error
1>
No answer from remote device
2>
Cannot reach remote device or no answer
8>
Wrong parameter(s)
9>
Invalid command
Command
(continued)
Command Name
Function