System information
Manual:Tools/Traffic Generator
128
vlan-id (; Default: )
vlan-priority (; Default: )
vlan-protocol (; Default: )
header-stack (list of ip | mac |
raw | udp | vlan (max 16 times);
Default: ip)
Sequence of headers that a generated packet should have.
Currently supports:
• mac - Ethernet header (14 bytes)
• vlan - Ethernet VLAN tag (4 bytes)
• ip - IPv4 header (20 bytes)
• udp - UDP header (8 bytes)
• raw - arbitrary bytes specified as hex string
Most header types can be present in header multiple times. There can be only 2 ip headers and 1 udp header
per packet. Some limitations are imposed on possible sequences of headers based on our practical
experience with network protocols (for example vlan header can follow only a mac header or other vlan
header).
Traffic generator suggests first header for a packet template (in port menu). But it is not enforced.
Port Configuration
Sub-menu /tool packet-generator port
This menu allows to configure ports that will be associated to specific interface and will be used to receive/send
generated packets.
Properties
Property Description
disabled (yes | no; Default: no) Whether port is disabled and does not participate in receiving/sending of the packets
name (string; Default: ) Descriptive name of the port
interface (string; Default: ) Name of the interface associated with the port.
Read-Only Properties
Property Description
dynamic (yes | no) Whether port configuration is generated automatically.
first-header (ip | mac | raw |
udp | vlan)
Shows suggested first header for packets to be sent out of specified interface. This is information can be
used when creating packet templates.
inactive (yes | no) Whether port is inactive and can't participate in tx/rx of the packets.
Stats
Sub-menu /tool traffic-generator stats
If traffic generator is not running in quick mode then all statistics about the test is stored in this menu.
Latency Distribution
Sub-menu /tool traffic-generator stats latency-distribution
This sub-menu shows how many packets are received in specific latency range. Latency range can be viewed by
streams or by sequences (for example, print stream-num=3, print seq=10)
Here is an example output of the latency graph: