Pages

network cisco ccna gns3 certification arteq

network cisco ccna gns3 certification arteq
a network runs through it

Search insearchofthecert

Sunday, January 6, 2013

ttcp...

you've heard about it...  the hidden ios traffic generator... set the receive side first (the default)... make the other side trans...  make sure to issue the report at the end... turn on your netflow collector also... then let it rip, baby... the netflow collector should automatically adjust from kb to Mb, but you can hard set that too... see the graphic below... it goes without saying doing this on a production wire could get your ass canned...

R1#ttcp
transmit or receive [receive]:
perform tcp half close [n]:
receive buflen [8192]:
bufalign [16384]:
bufoffset [0]:
port [5001]:
sinkmode [y]:
rcvwndsize [4128]:
delayed ACK [y]:
show tcp information at end [n]: y

ttcp-r: buflen=8192, align=16384/0, port=5001
rcvwndsize=4128, delayedack=yes  tcp
ttcp-r: accept from 10.1.2.1 (mss 1460, sndwnd 4128, rcvwnd 4128)
ttcp-r: 47284224 bytes in 79206 ms (79.206 real seconds) (~582 kB/s) +++
ttcp-r: 15074 I/O calls
ttcp-r: 0 sleeps (0 ms total) (0 ms average)
Connection state is CLOSEWAIT, I/O status: 7, unread input bytes: 0           
Connection is ECN Disabled, Mininum incoming TTL 0, Outgoing TTL 255
Local host: 10.1.2.2, Local port: 5001
Foreign host: 10.1.2.1, Foreign port: 48488

Enqueued packets for retransmit: 0, input: 0  mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x78C008E):
Timer          Starts    Wakeups            Next
Retrans             1          0             0x0
TimeWait            0          0             0x0
AckHold         15070          1             0x0
SendWnd             0          0             0x0
KeepAlive           0          0             0x0
GiveUp              0          0             0x0
PmtuAger            0          0             0x0
DeadWait            0          0             0x0

iss:  527482596  snduna:  527482597  sndnxt:  527482597     sndwnd:   4128
irs: 2210714312  rcvnxt: 2257998538  rcvwnd:       3680  delrcvwnd:    448

SRTT: 37 ms, RTTO: 1837 ms, RTV: 1800 ms, KRTT: 0 ms
minRTT: 0 ms, maxRTT: 300 ms, ACK hold: 200 ms
Flags: passive open, retransmission timeout, gen tcbs
IP Precedence value : 0

Datagrams (max data segment is 1460 bytes):
Rcvd: 34636 (out of order: 0), with data: 34633, total data bytes: 47284224
Sent: 36030 (retransmit: 0, fastretransmit: 0, partialack: 0, Second Congestion: 0), with data: 0, total data bytes: 0


DLS1#ttcp
transmit or receive [receive]: tran
Target IP address: 10.1.2.2
calculate checksum during buffer write [y]:
perform tcp half close [n]:
send buflen [32768]:
send nbuf [2048]:
bufalign [16384]:
bufoffset [0]:
port [5001]:
sinkmode [y]:
buffering on writes [y]:
show tcp information at end [n]: y

ttcp-t: buflen=32768, nbuf=2048, align=16384/0, port=5001  tcp  -> 10.1.2.2
ttcp-t: connect
ttcp-t: 47251456 bytes in 78031 ms (78.031 real seconds) (~590 kB/s) +++
ttcp-t: 1443 I/O calls
ttcp-t: 0 sleeps (0 ms total) (0 ms average)
Connection state is ESTAB, I/O status: 1, unread input bytes: 0
Mininum incoming TTL 0, Outgoing TTL 255
Local host: 10.1.2.1, Local port: 48488
Foreign host: 10.1.2.2, Foreign port: 5001

Enqueued packets for retransmit: 2, input: 0  mis-ordered: 0 (0 bytes)

Event Timers (current time is 0x54DE996):
Timer          Starts    Wakeups            Next
Retrans         15070          0       0x54DEAC5
TimeWait            0          0             0x0
AckHold             0          0             0x0
SendWnd             0          0             0x0
KeepAlive           0          0             0x0
GiveUp              0          0             0x0
PmtuAger            0          0             0x0
DeadWait            0          0             0x0

iss: 2210714312  snduna: 2257998537  sndnxt: 2257998537     sndwnd:   3680
irs:  527482596  rcvnxt:  527482597  rcvwnd:       4128  delrcvwnd:      0

SRTT: 300 ms, RTTO: 303 ms, RTV: 3 ms, KRTT: 0 ms
minRTT: 0 ms, maxRTT: 300 ms, ACK hold: 200 ms
Flags: higher precedence, retransmission timeout

Datagrams (max data segment is 1460 bytes):
Rcvd: 36029 (out of order: 0), with data: 0, total data bytes: 0
Sent: 34635 (retransmit: 0), with data: 34633, total data bytes: 47284224



check that shit out... puts the ping bomb in the earlier post to shame...

No comments:

Post a Comment