Table of Contents

Advertisement

Quick Links

DAG 4.5 G2/G4 Card User Guide
EDM01-18

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DAG 4.5 G2 and is the answer not in the manual?

Questions and answers

Summary of Contents for Endace DAG 4.5 G2

  • Page 1 DAG 4.5 G2/G4 Card User Guide EDM01-18...
  • Page 2 Endace and any named company, or any sponsorship or endorsement by any named company. Use of the Endace products described in this document is subject to the Endace Terms of Trade and the Endace End User License Agreement (EULA).
  • Page 3: Table Of Contents

    ..........................21 dagconfig options ............................... 28 Viewing the DAG card status ..........................29 Interface Status ..............................29 Using your DAG card to capture data Introduction ................................31 ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 4 Generic ERF Header ..............................58 ERF 2. TYPE_ETH ..............................60 ERF 16. TYPE_DSM_COLOR_ETH ........................61 Extension Headers (EH) ............................62 Introduction ................................ 62 Troubleshooting Reporting Problems ..............................63 Version History ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 5: Introduction

    Unless otherwise specifically stated throughout this User Guide DAG 4.5 card refers to the DAG 4.5G2 and G4 cards. The Endace DAG 4.5 card provides the means to transfer data at the full speed from the network into the memory of the host computer, with zero packet loss in even worst-case conditions.
  • Page 6: Purpose Of This User Guide

    • Data formats • You can also find additional information relating to functions and features of the DAG 4.5 card in the following documents which are available from the Support section of the Endace website at http://www.endace.com • EDM04-01 DAG Software Installation Guide •...
  • Page 7: Card Description

    Although the DAG 4.5G4 supports full line rate capture or transmit across all four Note: ports, maximum combined throughput (i.e. simultaneous capture and transmission) is limited by the bandwidth of the PCI-X. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 8: Battery Removal - Don't Do It

    The battery in this product is expected to last a minimum of 10 years. Caution Risk of explosion if the battery is replaced by an incorrect type. Dispose of used batteries carefully. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 9: Card Architecture

    FIFO memory before transmission to the host. DAG 4.5G4 The diagram below shows the DAG 4.5G4 card's major components and flow of data. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 10: Dag 4.5G2

    EDM01-18v13 DAG_4.5_G2_G4_Card_User_Guide DAG 4.5G2 The diagram below shows the DAG 4.5G2 card's major components and flow of data. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 11: Line Types

    (850nm) Note: For more detailed information regarding Ethernet line types and speeds, please refer to IEEE Standard 802.3 available from the IEEE website at http://www.ieee.org. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 12: Extended Functions

    Packet Steering Module The Packet steering module looks at the color information contained in the record and determines which receive stream the record should be routed to. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 13: Inline Forwarding

    For more detailed information on inline forwarding and using please refer to the dagfwddemo EDM04-04 dagfwddemo User Guide available from the support section of the Endace website http://www.endace.com Timed Release TERF (TR-TERF) The Timed Release TERF (TR-TERF) module is a option that enables you to transmit an ERF stream while reproducing the timestamps of the packets within that stream.
  • Page 15: Installation

    Secure the card with the bus slot cover screw. Turn power to the computer ON. 10. Ensure the blue (FPGA successfully programmed) LED on the DAG card illuminates. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 16: Port Connectors

    This socket is available for connection to an external time synchronization source. Caution: Never connect anything other than a PPS input to the time synchronization sockets. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 17: Pluggable Optical Transceivers

    Configuring the card with the wrong transceiver type may damage the card. You can connect the transceiver to the network via LC-style optical connectors. For further information on pluggable optical transceivers please refer to the Endace website http://www.endace.com Optical modules The optical power range depends on the particular SFP module that is fitted to the DAG 4.5Z2/4.5Z8 card.
  • Page 18: Power Input

    • low loss output Note: Endace recommends that you do not use a combination of single mode and multi mode fibers and optics modules on the same link, as the quality of the received signal cannot be guaranteed. If you have no choice but to mix single mode and multi mode you should be aware that a single mode input connected to a multi mode fiber will have some attenuation but may still be acceptable.
  • Page 19: Configuring The Dag Card

    (dag45g4pci_dsm..) The software version strings are displayed in the output and when using the dagconfig command. They include a version number and creation date. dagrom -x ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 20: Setting Up The Fpga

    (where "0" is the device number of the DAG card you wish to capture data from). The filename of the FPGA image may differ from the above depending on the version required. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 21: Dagrom

    EDM01-18v13 DAG_4.5_G2_G4_Card_User_Guide dagrom is a software utility that enables you to configure the FPGA on Endace DAG cards. dagrom The following is a list of options available in dagrom Option Description Use alternate (stable) half. [Default is current half.] Factory / User.
  • Page 22: Loading New Firmware Images Onto A Dag Card

    2vp30ff1152 2006/08/14 07:28:09 Loading new firmware images onto a DAG Card New DAG card FPGA images are released regularly by Endace as part of software packages. They can be downloaded from the Endace website at https://www.endace.com/support Endace recommends you use the...
  • Page 23: Configuring The Dag Card

    (where "0" is the device number of the DAG card you wish to capture data from) A description of available commands follows. Note: Not all commands displayed in the following diagram. DAG 4.5G2 Output ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 24 If you are using the Data Stream Manager (DSM) feature and want to revert to normal capture mode, use the following command line: dsm_loader -b. This allows you to bypass DSM mode and perform normal capture functions. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 25: Dagconfig Tokens Explained

    Ethernet auto-negotiation is not performed. This allows you to use one noauto_neg splitter on each DAG receive port to monitor each direction of a full-duplex Ethernet link. Example dagconfig auto_neg dagconfig noauto_neg ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 26 Sets or unsets equipment loopback. For testing set to mode and normal operation set to mode. noeql Note: mode loops transmit data from the host back to the PCIx bus. Example dagconfig eql dagconfig noeql ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 27 The type of PCI used by the DAG card (PCI, PCIx or PCIe) • Bus speed • Bus width • Example pcix 133MHz 64-bit 33MHz 32-bit pcie 8 Gbs 4Lane ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 28 Therefore a of 48 will slen slen produce a 64-byte capture record made up of 48 bytes plus the number of bytes in the ERF header. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 29 Disables Relative Timed Release mode (No Delay Mode). In No Delay Mode all packets are transmitted at the maximum rate permitted by the line interface, using only minimum gaps between packets. Example dagconfig nodelay ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 30 Indicates how to process packets that are transmitted with an RX error flag. Packets are either discarded or transmitted (notxrxerror) on (txrxerror). Example dagconfig txrxerror dagconfig notxrxerror ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 31 Details the following information about the connected DAG card: Firmware image programmed in the FPGA • The DAG card serial number • The MAC address(s) of the DAG card's ports (ethernet cards only). • ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 32: Dagconfig Options

    -v,--verbose <level> Display the DAG card version information. -V,--version Note: For cards with more than 2 ports you can select the required port using: - (portnumber) or --(portletter). ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 33: Viewing The Dag Card Status

    FPGA and the SFP. Fiber SFP Modules - The value represents the section between the FPGA and link the peer. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 35: Using Your Dag Card To Capture Data

    By default, runs indefinitely. To stop, use CTRL+C. You can also configure dagsnap dagsnap to run for a fixed time period then exit. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 36: Dagsnap

    2. The buffer occupancy. Small values indicate no packet loss. 3. The rate at which data is currently being written. Display version information. -V, --version Delay(wait) in seconds before capture and after. -w,--wait SEC ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 37: Capturing Data At High Speed

    You can increase the size of the host computer buffer to enable it to cope with bursts of high traffic load on the network link. For information on increasing the buffer size, see buffer_size (page ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 38: Viewing Captured Data

    (page dagbits Note: decodes and displays ERF header fields and packet contents are displayed dagbits as a Hex dump only. To decode higher level protocols, Endace recommends using a third party application, see Using third party applications (page Examples Test live traffic on dag0, stream 0 for 60 seconds running the lctr, flags and fcs tests:...
  • Page 39 Available tests dagbits include monotonic time-stamp increment and frame checksum (FCS, aka CRC) validation. See the help for further details. dagbits ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 40: Converting Captured Data

    -d0 -o outfile.erf -r 128m The first file created is labeled , once the file size reaches 128MB, a second outfile0000.erf file is created. The second is labeled etc. outfile0001.erf ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 41: Dagconvert

    CHDLC : HDLC PPP_SERIAL : HDLC MTP2 : HDLC ATM_RFC1483 : ATM, AAL5 SUNATM : ATM, AAL5 Note: Not all options are applicable to all DAG cards. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 42: Using Third Party Applications

    For detailed information on configuring the DSM including the format of the XML file, please refer to EDM04-07 dsm-loader User Guide and EDM04-10 Data Stream Management API Programming Guide. These documents are available from the support section of the Endace website at http://www.endace.com...
  • Page 43: Trace Files

    In this case, you should configure TR-TERF to not strip the 32-bit CRC and configure the MAC to add a hardware-calculated CRC. This has the effect of reducing the burden of calculating a CRC in the software. Example dagconfig noterf_strip tx_crc ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 44 (maximum data burst length) to a value greater than the default of 1MB. During testing Endace found a value of 16MB (16777216) to be effective. This reduces the possibility of a buffer under-run occurring if insufficient data is committed in a burst and the process is not scheduled by the OS to run in a timely manner.
  • Page 45 If guaranteed inter-packet timing is required, Endace recommends that TR-TERF be enabled on only one interface at a time. Applicable to Multi port DAG cards only. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 47: Synchronizing Clock Time

    Common synchronization sources include GPS or CDMA (cellular telephone) time receivers. Endace also provides the TDS 2 Time Distribution Server modules and TDS 6 expansion units that enable you to connect multiple DAG cards to a single GPS or CDMA unit.
  • Page 48: Network Time Protocol

    The best synchronization is achieved when the DAG card is synchronized to an external GPS reference clock, and the computer clock is synchronized to a local NTP server. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 49: Timestamps

    = ((lts & 0xffffffffULL) * 1000 * 1000); lts += (lts & 0x80000000ULL) << 1; /* rounding */ tv.tv_usec = lts >> 32; if(tv.tv_usec >= 1000000) { tv.tv_usec -= 1000000; tv.tv_sec += 1; ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 50: Dagclock

    The DAG card takes approximately 20 to 30 seconds to re- synchronize. By default, all DAG cards listen for synchronization signals on their RS-422 port, Note: and do not output any signal to that port. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 51: Dagclock Statistics Reset

    Thu Apr 28 13:32:45 2007 host Thu Apr 28 14:35:35 2007 Thu Apr 28 14:35:35 2007 Note: For a description of the output see Dagclock output explained (page dagclock ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 52: Dagclock Output Explained

    Reset to zero when statistics are reset, see Dagclock Statistics reset. (page Example error Freq -30ppb Phase -60ns Worst Freq 75ppb Worst Phase 104ns ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 53 No active input - free running. Example start Thu Apr 28 13:32:45 2007 host Thu Apr 28 14:35:35 2007 Thu Apr 28 14:35:35 2007 ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 54: Card With Reference

    This is derived directly from an external reference source or distributed through the Endace TDS 2 (Time Distribution Server) module which allows two DAG cards to use a single receiver. It is also possible for more than two DAG cards to use a single receiver by “daisy-chaining”...
  • Page 55: Single Card No Reference

    Total 87039 Bad 0 Singles Missed 0 Longest Sequence Missed 0 start Wed Apr 27 14:27:41 2007 host Thu Apr 28 14:38:20 2007 Thu Apr 28 14:38:20 2007 ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 56: Two Cards No Reference

    Thu Apr 28 14:48:34 2007 No active input - Free running Note: The slave DAG card configuration is not shown as the default configuration will work. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 57: Synchronizing With Host

    Wed Apr 27 14:27:41 2007 host Thu Apr 28 14:59:14 2007 Thu Apr 28 14:59:14 2007 Note: The slave DAG card configuration is not shown, the default configuration is sufficient. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 58: Connector Pin-Outs

    To connect two DAG cards, use a DUCK crossover cable (page ) to connect the two time synchronization sockets. Note: The DAG card is supplied with a 4-pin to RJ45 adapter. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 59: 4-Pin To Rj45 Adapter

    TX PPS- TX SERIAL+ RX SERIAL+ TX SERIAL- RX SERIAL- Note: This wiring is the same as an Ethernet crossover cable (Gigabit crossover, All four pairs crossed). ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 61: Data Formats

    ERF records, there is no file header or trailer. This allows for simple concatenation and splitting of files to be performed on ERF record boundaries. For information on other ERF types, please refer to EDM11-01 ERF types. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 62: Generic Erf Header

    PCIx bus. The loss is recorded between the current record and the previous record captured on the same stream/interface. The color field is explained under the appropriate type details. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 63 Reserved for CoProcess Development Kit (CDK) Users and Internal use TYPE_PAD Pad Record type The Ethernet frame begins immediately after the pad byte so that the layer 3 (IP) Note: header is 32-bit aligned. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 64: Erf 2. Type_Eth

    Payload Payload = rlen - ERF header (16 bytes) - Extension headers (optional) - Padding (2 (bytes of record) bytes) ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 65: Erf 16. Type_Dsm_Color_Eth

    8, this means that if you wish slen to capture 48 bytes of payload for instance, the must to set to 56. slen ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 66: Extension Headers (Eh)

    The following diagram shows presence of an Extension Header in addition to the ERF record. The following diagram shows presence of two Extension Headers with Bit 7 of the first Extension Header set to '1'. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...
  • Page 67: Troubleshooting

    EDM01-18v13 DAG_4.5_G2_G4_Card_User_Guide Troubleshooting Reporting Problems If you have problems with a DAG 4.5 card or Endace supplied software which you are unable to resolve, please contact Endace Customer Support at support@endace.com Supplying as much information as possible enables Endace Customer Support to be more effective in their response to you.
  • Page 69: Version History

    The products described in this technical document are in development and have yet to complete final production quality assurance. Released The products described in this technical document have completed development and final production quality assurance. ©2004 - 2008 Endace Technology Ltd. Confidential - Version 13 - November 2008...

This manual is also suitable for:

Dag 4.5 g4

Table of Contents