TXSTArt
Transmit one or more packets in background
- TXSTArt
Shortest form:
txsta.Send packets like
TX, but in a background thread, so the prompt returns at once. The arguments are the same as forTX, and so is the built-in help. UseTXCountto watch progress andTXSTOpto stop. Only one background transmission can run at a time; a secondtxstartprints<cmd>: Error: tx command running.Like
TX,txstartsends real traffic, for as long as it runs.Unvalidated
drivshell> txstart 1000 PortBitMap=ce0 Length=64- TXSTArt show
Print the state of the SDK’s TX module, instead of starting a transmission. The built-in help does not mention this form.
showmust be written in full. It works only while no background transmission is running. Read-only.Unvalidated
drivshell> txstart show
Built-in help
Parameters: <Count> [options] Transmit the specified number of packets, if the contents of the packets is important, they may be specified using options. Supported options are: Untagged[yes/no] - Specify packet should be sent untagged(XGS3) TXUnit=<val> - Transmit unit number PortBitMap=<pbmp> - Specify port bitmap packet is sent to. UntagBitMap=<pbmp> - Specify untag bitmap used for DMA. File=<filename> - Load hex packet data from file and ignore various other pattern parameters below. DATA=<packet> - Parse string given by user as packet payload Length=<value> - Specify the total length of the packet, including header, possible tag, and CRC. VLantag=<value> - Specify the VLAN tag used, only the low order 16-bits are used (VLANID=0 for none) VlanPrio - VLAN Priority. PrioInt - Internal Priority. Pattern=<value> - Specify 32-bit data pattern used. PatternInc=<value> - Value by which each word of the data pattern is incremented PatternRandom[yes/no] - Use Random data pattern PerPortSrcMac=[0|1] - Associate specific (different) src macs with each source port. SourceMac=<value> - Source MAC address in packet SourceMacInc=<val> - Source MAC increment DestMac=<value> - Destination MAC address in packet. DestMacInc=<value> - Destination MAC increment. PurGe[yes/no] - Send packet with purge Indication(XGS3) McQType=[yes/no] - Send packet to MC queue(XGS3) VisibilitySourcePort=<port> - Source port for visibility trace Select 'any' to disable VisibilityOptions=<value> - Visibility options - 0x1 BCM_PKT_TRACE_LEARN - 0x2 BCM_PKT_TRACE_NO_IFP - 0x4 BCM_PKT_TRACE_FORWARD TxProcMhDestinationType=<opcode> - Case/Destination type - Choose from VLAN_FLOOD, L2MC, IPMC, DGPP ECMP, ECMP_MEMBER and NHI TxProcMhSourcePort=<port> - Packet Processing port used to gauge loopback port to send the packet to TxProcMhDestination=<value> - Destination Index/Value TxProcMhDestinationPort=<port> - Destination port TxProcMhEcmpGroup=<value> - ECMP group index value TxProcMhEcmpMember=<value> - ECMP member index value TxProcMhRoutedPkt[Yes/No] - L3 Routed packet TxProcMhMcastLbIndexValid[Yes/No] - Load balancing for Non Unicast Packets TxProcMhMcastLbIndex=<value> - Select entry in NONUCAST_TRUNK_BLOCK_MASK table Used to control load balancing for non unicast packets TxProcMhQosFieldsValid[Yes/No] - Select QoS Processing TxProcMhDropPrecedence<color> - Drop Precendence, choose packet color (green/red/yellow) TxProcMhInternalPriority=<value> - Internal Priority TxProcMhInternalCongestion=<value> - Internal Congestion Header Format-specific options (see HeaderMode command): - HiGig: HGOpcode=<val> - HiGig header opcode HGSrcMod=<val> - Source Module ID HGSrcPort=<val> - Source Port (numeric value only) HGDestMod=<val> - Destination Module ID HGDestPort=<val> - Destination Port (numeric value only) PFM=<val> - Port Filtering Mode (0, 1, 2) - HiGig2 only: TrafficClass=<val> - Traffic Class (0-15) McastGroupID=<val> - Multicast Group ID LoadBalID=<value> - Load Balancing ID DropPrecedence=<c> - Drop Precendence (green/red/yellow) - HiGig3 only: ClassID=<val> - Class ID L3Routed=<val> - L3 Routed Mirror=<val> - Mirror packet MultiPoint=<val> - MultiPoint DestVP=<val> - Destination VP SrcVP=<val> - Source VP DonotLearn=<val> - Do Not Learn LagFailover=<val> - Lag Failover - SOBH options: TRIUMPH3 only RplType=<val> - OAM replacement type RplOffset=<val> - OAM replacement offset LmCtrIdx=<val> - LM counter Index RQE num=<val>