The following examples contain output from these commands.
Router# show raw-socket tcp detail
--------------------------------------------- Line Registration and Connections -------------------------------------
Line 00, if: 0/0/0 tty: 3 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 0, l_ip: 10.0.0.68, l_port: 1 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 01, if: 0/0/1 tty: 4 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 1, l_ip: 10.0.0.68, l_port: 2 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 02, if: 0/0/2 tty: 5 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 2, l_ip: 10.0.0.68, l_port: 3 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 03, if: 0/0/3 tty: 6 , s erver status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 3, l_ip: 10.0.0.68, l_port: 4 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 04, if: 0/0/4 tty: 7 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 4, l_ip: 10.0.0.68, l_port: 5 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 05, if: 0/0/5 tty: 8 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 5, l_ip: 10.0.0.68, l_port: 6 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 06, if: 0/0/6 tty: 9 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 6, l_ip: 10.0.0.68, l_port: 7 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 07, if: 0/0/7 tty: 10 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 7, l_ip: 10.0.0.68, l_port: 8 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 08, if: 0/1/0 tty: 19 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 8, l_ip: 10.0.0.68, l_port: 9 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 09, if: 0/1/1 tty: 20 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0 , socket: 9, l_ip: 10.0.0.68, l_port: 10 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 10, if: 0/1/2 tty: 21 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0, socket: 10, l_ip: 10.0.0.68, l_port: 11 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 11, if: 0/1/3 tty: 22 , server status: off, socket: ---, listen port: -----, total sessions: 1
<--[out] Session 0, socket: 11, l_ip: 10.0.0.68, l_port: 12 , d_ip: 172.1.1.1, d_port: 1 w_err: 0
Line 12, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 13, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 14, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 15, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 16, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 17, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 18, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 19, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 20, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 21, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 22, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 23, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 24, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 25, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 26, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 27, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 28, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 29, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 30, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
Line 31, if: ----- tty: ---, server status: off, socket: ---, listen port: -----, total sessions: 0
--------------------------------------------------------- Socket Mapping ---------------------------------------------------
Socket status interface tty hwidb local_ip_addr local_port dest_ip_addr dest_port
[ 0] connected 0/0/0 3 29C1CA98 10.0.0.68 1 172.1.1.1 1
[ 1] connected 0/0/1 4 29C1D7FC 10.0.0.68 2 172.1.1.1 1
[ 2] connected 0/0/2 5 31156BBC 10.0.0.68 3 172.1.1.1 1
[ 3] connected 0/0/3 6 2A36BFF0 10.0.0.68 4 172.1.1.1 1
[ 4] connected 0/0/4 7 411EEE10 10.0.0.68 5 172.1.1.1 1
[ 5] connected 0/0/5 8 29C20C28 10.0.0.68 6 172.1.1.1 1
[ 6] connected 0/0/6 9 29C2198C 10.0.0.68 7 172.1.1.1 1
[ 7] connected 0/0/7 10 3115987C 10.0.0.68 8 172.1.1.1 1
[ 8] connected 0/1/0 19 2A36EE40 10.0.0.68 9 172.1.1.1 1
[ 9] connected 0/1/1 20 319D668C 10.0.0.68 10 172.1.1.1 1
[ 10] connected 0/1/2 21 29C24388 10.0.0.68 11 172.1.1.1 1
[ 11] connected 0/1/3 22 41B40454 10.0.0.68 12 172.1.1.1 1
------------------------------------------------------ Configuration Event List --------------------------------------------
Event_addr initiator event_action local_ip_addr local_port dest_ip_addr dest_port retry_count
0x30E28C2C 0/0/0 start client ------ 1 172.1.1.1 1 0
0x30E28BC4 0/0/1 start client ------ 2 172.1.1.1 1 0
0x30E28B5C 0/0/2 start client ------ 3 172.1.1.1 1 0
0x30E28AF4 0/0/3 start client ------ 4 172.1.1.1 1 0
0x30E28A8C 0/0/4 start client ------ 5 172.1.1.1 1 0
0x30E28A24 0/0/5 start client ------ 6 172.1.1.1 1 0
0x30E287B4 0/0/6 start client ------ 7 172.1.1.1 1 0
0x30E2881C 0/0/7 start client ------ 8 172.1.1.1 1 0
0x30E28884 0/1/0 start client ------ 9 172.1.1.1 1 0
0x30E288EC 0/1/1 start client ------ 10 172.1.1.1 1 0
0x30E28954 0/1/2 start client ------ 11 172.1.1.1 1 0
0x30E289BC 0/1/3 start client ------ 12 172.1.1.1 1 0
Router# show raw-socket tcp sessions
-------------------------------------------------------------- TCP Sessions --------------------------------------------------------
Interface tty socket mode local_ip_addr local_port dest_ip_addr dest_port up_time
idle_time/timeout
0/0/0 3 0 client 10.0.0.68 1 172.1.1.1 1 02:00:37
00:00:00/5 min
0/0/1 4 1 client 10.0.0.68 2 172.1.1.1 1 02:00:37
00:00:00/5 min
0/0/2 5 2 client 10.0.0.68 3 172.1.1.1 1 02:00:37
00:00:00/5 min
0/0/3 6 3 client 10.0.0.68 4 172.1.1.1 1 02:00:37
00:00:00/5 min
0/0/4 7 4 client 10.0.0.68 5 172.1.1.1 1 02:00:37
00:00:00/5 min
0/0/5 8 5 client 10.0.0.68 6 172.1.1.1 1 02:00:37
00:00:00/5 min
0/0/6 9 6 client 10.0.0.68 7 172.1.1.1 1 01:51:40
00:00:00/5 min
0/0/7 10 7 client 10.0.0.68 8 172.1.1.1 1 01:51:05
00:00:00/5 min
0/1/0 19 8 client 10.0.0.68 9 172.1.1.1 1 01:50:55
00:00:00/5 min
0/1/1 20 9 client 10.0.0.68 10 172.1.1.1 1 01:50:43
00:00:00/5 min
0/1/2 21 10 client 10.0.0.68 11 172.1.1.1 1 01:46:37
00:00:00/5 min
0/1/3 22 11 client 10.0.0.68 12 172.1.1.1 1 01:46:28
00:00:00/5 min
Router# show raw-socket tcp statistic
---------------------------------------------------- TCP-Serial Statistics ---------------------------------------------
Interface tty sessions tcp_in_bytes tcp_out_bytes tcp_to_tty_frames tty_to_tcp_frames
0/0/0 3 1 9471 287847 351
351
0/0/1 4 1 9471 287847 351
351
0/0/2 5 1 9471 287847 351
351
0/0/3 6 1 9471 287847 351
351
0/0/4 7 1 9471 287847 351
351
0/0/5 8 1 9471 287847 351
351
0/0/6 9 1 9471 287847 351
351
0/0/7 10 1 9471 287847 351
351
0/1/0 19 1 9471 287847 351
351
0/1/1 20 1 9471 287847 351
351
0/1/2 21 1 9471 287847 351
351
0/1/3 22 1 9471 287847 351
351