5-46
IM XL100C-E
5.11 Maintenance/Test
Commands (Available when
using the maintenance/test
server function via Ethernet
communications)
close
Disconnects the connection
between other devices
Syntax
close,p1,p2:p3<terminator>
p1
Port on the XL100 side
0
to
65535
p2
IP address on the PC side
0.0.0.0
to
255.255.255.255
p3
Port on the PC side
0
to
65535
Example
close,349,192.168.111.24:1054
E0
Description This command cannot be used to disconnect a
server port. Also, it cannot disconnect the XL100
being operated. Use the quit command for this
purpose.
con
Outputs connection information
Syntax
con<terminator>
Example
con
EA
00/00/00 12:34:56
Active connections
Proto Local Address Foreign Address
State
TCP 192.168.111. 24:34159
192.168.111. 24:1053 ESTABLISHED
TCP 0. 0. 0. 0:34155 0. 0. 0. 0: 0
LISTEN
TCP 0. 0. 0. 0:34159 0. 0. 0. 0: 0
LISTEN
TCP 0. 0. 0. 0:34150 0. 0. 0. 0: 0
LISTEN
EN
TCP: Protocol used
Local Address: The XL100 socket address.
Displays “IP address:port number”
Foreign Address: The destination socket
address. Displays “IP address:port number”
State: Connection status
ESTABLISHED: Connection established
eth
Outputs Ethernet statistical
information
Syntax
eth
<terminator>
Example
eth
EA
00/00/00 12:34:56
Ethernet Statistics
Name In Pkt In Err Out Pkt Out Err
16 Coll
lo0 0 0 0 0 0
mb0 74 0 64 0 0
EN
help
Outputs help
Syntax
help [,p1]<terminator>
p1
Command name
(close, con, eth, help, net, quit)
Example
help
EA
con - echo connection information
eth - echo ethernet information
help - echo help
net - echo network status
quit - close this connection
EN
net
Outputs network statistical
information
Syntax
net
<terminator>
Example
net
EA
05/12/08 15:37:12
Network Status
TCP6 Statistics:
--------------
Active Opens = 0
Passive Opens = 0
Connect Attempt Fails = 0
Reset Connections = 0
Current Connections = 0
Segments Received = 0
Segments Sent = 0
Segments Retransmitted = 0
Errors Received = 0
Sgmnts sent w/Reset Flag = 0
Cumulative Connections = 4
Time-Out Algorithm = 4
Time-Out Minimim =
300
Time-Out Maximum =
240000
Maximum Connections = Dynamic(-1)
TCP Statistics:
--------------
Active Opens = 0
Passive Opens = 59
Connect Attempt Fails = 0
5.11 Maintenance/Test Commands