To display the diagnostics of the TELNET resource the following commands are used:
Shows diagnostic information, such as the state of the client and server, the local and the remote addresses-ports connected to the resource, etc..
[17:58:20] ABILIS_CPX:
d d telnet
RES:Telnet -------------------------------------------------------------------- Telnet_Server_and_Client_entities STATE:READY - Telnet Channels ------------------------------------------------------ CH TYPE X25-State TCP-State LocAdd-LocPort RemAdd-RemPort ------------------------------------------------------------------------ 1 CLNT READY READY 2 CLNT READY READY 3 CLNT READY READY 4 SERV CONNECTED CONNECTED 192.168.000.251-23 192.168.000.029-3113 5 SERV READY LISTEN 000.000.000.000-23 6 SERV READY LISTEN 000.000.000.000-23
To display the statistics of the TELNET resource the following commands are used:
Shows statistic information, such as number of segments received/sent, number of characters received/sent, number of packets received/sent, number of calls sent/received and number of resets sent/received.
Shows statistic information in an extended format: the same information listed for d s telnet command are shown for each session.
[18:06:18] ABILIS_CPX:
d s telnet
RES:Telnet -------------------------------------------------------------------- Telnet_Server_and_Client_entities --- Cleared 1 days 20:08:12 ago, on 18/05/2015 at 13:00:32 ------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 1719| 98|CHAR | 101022| 1203| PCK | 391| 98|CALL | 0| 9| RESET | 0| 0|DENIED-IP | 0| | BANNED-IP | 0| | ------------------------------------------------------------------------
[18:06:40] ABILIS_CPX:
d se telnet
RES:Telnet -------------------------------------------------------------------- Telnet_Server_and_Client_entities --- Cleared 1 days 20:09:01 ago, on 18/05/2015 at 13:00:32 ------------- -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 1745| 100|CHAR | 102562| 1226| PCK | 397| 100|CALL | 0| 9| RESET | 0| 0|DENIED-IP | 0| | BANNED-IP | 0| | ------------------------------------------------------------------------ - Telnet Sessions ------------------------------------------------------ SES TYPE X25-State TCP-State LocAdd-LocPort RemAdd-RemPort ------------------------------------------------------------------------ 1 CLNT READY READY -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0|CALL | 0| 0| RESET | 0| 0| ------------------------------------------------------------------------ 2 CLNT READY READY -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0|CALL | 0| 0| RESET | 0| 0| ------------------------------------------------------------------------ 3 CLNT READY READY -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 0| 0|CHAR | 0| 0| PCK | 0| 0|CALL | 0| 0| RESET | 0| 0| ------------------------------------------------------------------------ 4 SERV READY LISTEN 000.000.000.000-23 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 66| 4|CHAR | 3700| 28| PCK | 18| 4|CALL | 0| 3| RESET | 0| 0| ------------------------------------------------------------------------ 5 SERV CONNECTED CONNECTED 192.168.029.254-23 192.168.020.107-49277 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 161| 16|CHAR | 8944| 127| PCK | 47| 16|CALL | 0| 4| RESET | 0| 0| ------------------------------------------------------------------------ 6 SERV READY LISTEN 000.000.000.000-23 -----------|---INPUT---|--OUTPUT---|-----------|---INPUT---|--OUTPUT---| SEG | 513| 23|CHAR | 30860| 268| PCK | 103| 23|CALL | 0| 2| RESET | 0| 0|
To display the communication sessions status for the TELNET resource the following commands are used:
Shows the current state of sessions.
Shows the current state of sessions in extended format.
[11:09:16] ABILIS_CPX:
d c telnet
Res: Ses: State: Clr:/Res: Ses: [Cg:/Cd:] Id:/Pr: ------------------------------------------------------------------------------- Telnet 1 UP F0,B0 2 UP F0,B0 3 CONN TO Cp 1 00 0 4 UP F0,D0 5 UP 00,00 6 UP F0,D0 -------------------------------------------------------------------------------
[11:09:16] ABILIS_CPX:
d ce telnet
RES:Telnet SES:1 UP CLR:F0,B0 SES:2 UP CLR:F0,B0 SES:3 CONN TO RES:Cp SES:1 CG: CD:00 PID:01000000 UD:CP IPSRC:192.168.000.025 SES:4 UP CLR:F0,D0 SES:5 UP CLR:00,00 SES:6 UP CLR:F0,D0