Manual:Tools/Traffic Generator: Difference between revisions

From MikroTik Wiki
Jump to navigation Jump to search
Line 10: Line 10:
==General==
==General==
<p id="shbox"><b>Sub-menu</b> <code>/tool traffic-generator</code></p>
<p id="shbox"><b>Sub-menu</b> <code>/tool traffic-generator</code></p>
This menu allows to set general traffic generator properties and contains commands to quickly start and stop the tool.




Line 17: Line 20:
|prop=Property
|prop=Property
|desc=Description
|desc=Description
}}
{{Mr-arg-table
|arg=latency-distribution-scale
|type=integer [0..28]
|default=10
|desc=
}}
}}


{{Mr-arg-table-end
{{Mr-arg-table-end
|arg=
|arg=test-id
|type=
|type=integer [0..255]
|default=
|default=0
|desc=
}}
 
 
'''Read-Only Properties'''
 
{{Mr-arg-table-h
|prop=Property
|desc=Description
}}
 
{{Mr-arg-ro-table
|arg=latency-distribution-samples
|type=integer
|desc=
}}
 
{{Mr-arg-ro-table
|arg=latency-distribution-measure-interval
|type=time
|desc=
|desc=
}}
}}
{{Mr-arg-ro-table-end
|arg=running
|type=yes {{!}} no
|desc= Shows whether traffic generator tool is started.
}}


'''Commands'''
'''Commands'''
{{Mr-arg-table-h
|prop=Property
|desc=Description
}}
{{Mr-arg-ro-table
|arg=quick
|type=
|desc=This command allows to quickly start packet generator and print the stats output to the terminal. Command also accept several parameters that overrides settings in packet template and stream settings. Accepted parameters are '''duration, entries-to-show, freeze-frame-interval, mbps, num, packet-size, port, pps, stream, test-id, tx-template'''
}}
{{Mr-arg-ro-table
|arg=start
|type=
|desc=Commands starts the traffic generator tool in the background. It accepts one parameter '''test-id'''
}}
{{Mr-arg-ro-table-end
|arg=stop
|type=
|desc=Command stops the started traffic generator tool by '''start''' command.
}}


==Packet Template==
==Packet Template==

Revision as of 08:46, 28 September 2011

Applies to RouterOS: v5 +

Summary

Traffic Generator is a tool that allows to generate and send RAW packets over specific ports. Tool also collects latency and jitter values, tx/rx rates, it also counts lost packets and detects Out-of-Order packets. Traffic Generator can be used similar to bandwidth test tool as well as generate packets that will be routed back to packet generator for advanced status collection.

General

Sub-menu /tool traffic-generator


This menu allows to set general traffic generator properties and contains commands to quickly start and stop the tool.


Properties

Property Description
latency-distribution-scale (integer [0..28]; Default: 10)
test-id (integer [0..255]; Default: 0)


Read-Only Properties

Property Description
latency-distribution-samples (integer)
latency-distribution-measure-interval (time)
running (yes | no) Shows whether traffic generator tool is started.


Commands

Property Description
quick () This command allows to quickly start packet generator and print the stats output to the terminal. Command also accept several parameters that overrides settings in packet template and stream settings. Accepted parameters are duration, entries-to-show, freeze-frame-interval, mbps, num, packet-size, port, pps, stream, test-id, tx-template
start () Commands starts the traffic generator tool in the background. It accepts one parameter test-id
stop () Command stops the started traffic generator tool by start command.

Packet Template

Sub-menu /tool traffic-generator packet-template


Properties

Property Description
(; Default: )

Port Configuration

Sub-menu /tool packet-generator port


Properties

Property Description
(; Default: )


Stats

Sub-menu /tool traffic-generator stats


Properties

Property Description
(; Default: )


Streams

Properties

Property Description
(; Default: )


Configuration Examples

[ Top | Back to Content ]