Award Winning Solutions
Xena has won multiple global awards for price/performance and technical innovation. Learn more.
Technical Expertise
Copyright © 2009-2023 Teledyne LeCroy Xena ApS, Denmark
Explanation | Whether a port is transmitting packets. When on, the port generates a sequence of packets with contributions from each stream that is enabled. The streams are configured using the PS_xxx parameters. NOTE: From Release 57.1, if any of the specified packet sizes cannot fit into the packet generator, this command will return FAILED and not start the traffic.While traffic is on the streams for this port cannot be enabled or disabled, and the configuration of those streams that are enabled cannot be changed. |
Summary | set and get, value type: B |
Parameters | onoff: coded byte, whether traffic generation is active for this port:OFF ON |
Example, set or get: | 0/1 P_TRAFFIC ON |
Explanation | Whether a port should enable its transmitter, or keep the outgoing link down. |
Summary | set and get, value type: B |
Parameters | onoff: coded byte, whether the transmitter is enabled.
|
Example, set or get: | 0/0 P_TXENABLE ON |
Explanation | Sets a variable delay from a traffic start command is received by the port until it starts transmitting. The delay is specified in multiples of 64 microseconds. Valid values are 0-31250 (0 to 2.000.000 microseconds). NB: You must use C_TRAFFIC instead of P_TRAFFIC to start traffic for P_TXDELAY to have this effect. |
Summary | set and get, value type: I |
Parameters | delayval: integer, TX delay in multiples of 64 microseconds. (TX delay = delayval * 64 microseconds). |
Example, set or get: | 0/1 P_TXDELAY 31250 |
Explanation | A port-level time-limit on how long it keeps transmitting when started. After the elapsed time traffic must be stopped and restarted. This complements the stream-level PS_PACKETLIMIT function. |
Summary | set and get, value type: L |
Parameters | microseconds: long, time limit after which the port stops transmitting. |
Example, set or get: | 0/1 P_TXTIMELIMIT 60000000 |
Explanation | How long the port has been transmitting, the elapsed time since traffic was started. |
Summary | get, value type: L |
Parameters | microseconds: long, elapsed time since traffic was started. |
Example, get: | 0/1 P_TXTIME 37123456 |
Explanation | The number of packets that will be transmitted from a port when traffic is started on the port. A value of 0 or -1 makes the port transmit continuously. Traffic from the streams on the port can however also be set to stop after transmitting a number of packets. |
Summary | get, value type: I |
Parameters | count: Integer, number of packets transmitted from the port |
Example, get: | 0/1 P_TXPACKETLIMIT 456789 |
*Feature requires software release 76 or higher
Explanation | Transmits a single packet from a port, independent of the stream definitions, and independent of whether traffic is on. A valid Frame Check Sum is written into the final four bytes. |
Summary | set only, value types: H* |
Parameters | hexdata: hex bytes, the data content of the packet to be transmitted. |
Example, set: | P_XMITONE 0x554433…………48EE |
Explanation | The time at which the latest packet was transmitted using the P_XMITONE command. The time reference is the same used by the time stamps of captured packets. |
Summary | get, value type: L |
Parameters | nanoseconds: long, the time at which packet was transmitted. |
Example, get: | 0/1 P_XMITONETIME 123456789 |
Explanation | Controls if a 40G/100G port supports dynamic changes when the traffic is running. This feature is supported by 40G and 100G ports only. |
Summary | set and get, value type: B |
Parameters | onoff: coded byte, whether dynamic traffic change is enabled: OFF ON |
Example, set or get: | 0/1 P_DYNAMIC ON |
Explanation | Set port ‘link flap’ parameters for Valkyrie modules supporting this feature. |
Summary | set and get, value type: I, I, I |
Parameters | Duration: (0 ms – 1 s; increments of 1 ms; 0 = permanently link down) Period: (10 ms – 50 s; number of ms – must be multiple of 10 ms) Repetition: (1 – 64K; 0 = continuous) Notice: Period must be > duration |
Example, set or get: | 0/1 PP_LINKFLAP_PARAMS 5 1000 5 |
Explanation | Enable / disable port ‘link flap’ for Valkyrie modules supporting this feature. |
Summary | set and get, value type: B |
Parameters | enable: (0 = OFF, 1 = ON) |
Example, set or get: | 0/1 PP_LINKFLAP_ENABLE 1 |
Explanation | Set the ‘PMA pulse error inject’ parameters for Valkyrie modules supporting this feature. |
Summary | set and get, value type: I, I, I, I, I |
Parameters | Param1: Not used by Valkyrie, set to value 100 Param2: Not used by Valkyrie, set to value 1000 Param3: Not used by Valkyrie, set to value 0 (0 ms – 1 s; increments of 1 ms; 0 = permanently link down) Coeff: (0.01 < coeff < 9.99) * 100 Exp: (-3 < exp < -17) Note: BER will be: coeff * 10exp |
Example, set or get: | 0/1 PP_PMAERRPUL_PARAMS 100 1000 0 100 -4 |
Explanation | Enable / disable port ‘PMA pulse error inject’ for Valkyrie modules supporting this feature. |
Summary | set and get, value type: B |
Parameters | enable: (0 = OFF, 1 = ON) |
Example, set or get: | 0/1 PP_PMAERRPUL_ENABLE 1 |