• Category : 7130 Knowledge Base


How to build and install DPDKCap

Introduction DPDKCap is high performance packet capture tool based on DPDK. This guide explains how to build, install and use DPDKCap on a CentOS 7 based system. Arista Fork : https://github.com/aristanetworks/dpdkcap Assumptions CentOS 7 Linux NVMe capture drive (not mandatory but recommended for line rate capture) Running as root user CPU & NIC combination that supports DPDK System used to validate performance Manufacturer: Supermicro Part number: SYS-E300-8D Processor: Intel Xeon CPU D-1518 Memory: 2x Micron 9ASF1G72PZ-2G3A1 8GB DIMMs HDD: Samsung 860 PRO SSD 4TB NVMe: Samsung 960 EVO 1TB Build steps Create a directory at /data and format and mount...
Continue reading →

Verbose counters on Arista 7130 series

Arista 7130 series running MOS can give very verbose counter output using the CLI or through API. Using CLI, there are two distinct commands to show the counters which are inside the device. To view them, one enters one of the following CLI commands: For the regular (non-verbose) counter view: show interface counters For the verbose counter view: show interface counters verbose [nonzero]   Counter naming Most counters have both a “line” and “host” side counter. These counters account for the side that is connected to the SFP – “line”, and another counter which is connected to the crosspoint –...
Continue reading →

Troubleshooting Metawatch

Working of Metawatch  Metawatch is an application (app) that runs on the Arista 7130 devices to perform highly accurate timestamping and aggregation across a large number of ports in a single device. The aggregated output is suited for feeding to an analytics application server or backend. The layer 1 functionality in Arista 7130 devices facilitates dynamic configuration of low latency bi-directional data paths with 5ns deterministic latency. Arista 7130 devices allow this data to be “tapped” with no impact on the performance of the pass through latency and passed to the Metawatch App for high-resolution time stamping, aggregation and buffering...
Continue reading →

Password Recovery

This article describes how to gain access to an Arista 7130 device if you lose the password. There are two solutions: Password recovery using grub from the serial console. Factory restore via USB. Password recovery using grub Reboot, either by using the reload command at the command line or by power cycling the device. The grub menu will appear after the BIOS message “Press <del> or to enter setup” or “Press <del> or to enter setup”, depending upon which BIOS version your device has. Note: the grub menu will only be displayed for a few seconds before the device continues...
Continue reading →

Interface Status

The “show interfaces status” commands show the link status of the receive (Rx) and transmit (Tx). Besides “up” and “down”, the command gives addition information of the status of the port. This includes: Link status: shutdown – the port has been shutdown through the management platform. (Tx only) no source – the interface is not sourcing signal from anywhere. (Rx only) no signal – there is no signal received. (Rx only) no link – a signal is detected on the line side but there is not a valid link coming into device from upstream. Flags returned from the underlying driver...
Continue reading →

How do I get “tech-support” info from a 7130 device?

Arista 7130 devices have the ability to generate a zip archive of useful information which may be used to troubleshoot and diagnose issues. The archive contains information about the device configuration, state and relevant log files. Sending the archive to Arista Already have an archive? The archive may be sent to Arista using Tech Support Archive Submission. Please note the reference number for any further correspondence regarding the tech-support archive. Creating a tech-support archive To create a tech support archive use the “show tech-support” command: tad6#show tech-support Files zipped to A32-A4-52963-3_20170228_121510.zip To obtain the zip please use scp or a...
Continue reading →

How to update your Arista 7130 device

Arista 7130 devices run MOS. You can find the latest version of MOS at the Software Release Portal page. Broadly, there are two ways of updating the software on your device: a complete re-install, or the addition of the new image. The most commonly used method is the latter – a new software image is uploaded, the configuration is retained, and the device is reloaded to the new software. A complete re-image of the device would be required in order to restore the device to a factory-fresh state. That includes all configuration, including SSH keys, log files, startup configuration files,...
Continue reading →

How to set up MetaMux for a typical exchange

Introduction This is an example configuration of MetaMux on an Arista 7130 being used with a typical exchange connection. Configuration overview: 3 servers will be used to connect to each exchange connection receiving market data Market data and order responses from the Exchange feed will be delivered to each server on NIC 1. The Layer 3 process will be handled by an existing existing switch, however the Arista 7130 device could be set up to do BGP/PIM. This example shows three servers but may easily be modified for additional servers. All links are 10G. This config assumes management features etc....
Continue reading →

How to setup BGP for Exchange Connectivity

This is an example configuration of MetaMux on an Arista 7130 device being used with a typical exchange connection. BGP / PIM peering is done via internal routing daemons. Overview: This example shows 2 servers connected to one exchange gateway but may easily be modified for additional servers Market data and order responses from the Exchange feed will be delivered to the server on NIC 1 The Layer 3 processes (such as BGP / PIM peering) is done via internal routing daemons which receive a copy of the packets via internal 10G interfaces (ma5 & ma6) ma5/ma6 interfaces are only...
Continue reading →

How to install an application

Applications may be installed on your Arista 7130 device. Application installs will persist across reboots. Applications are installed in /opt/apps when using the install process. Presently, MOS ships with the latest stable version of each of the relevant applications, however if there’s a need to install a specific version of an application, instructions are below. Installing an application from the CLI Download the desired software application image as an RPM from the Software Download page. The file will be named something like “application-version.x86_64.rpm” i.e. metamux-0.14.3-1967.x86_64.rpm Copy the file to your Arista 7130 device. This can be done in a number...
Continue reading →

Automating MOS upgrade

Ways to mass-deploy MOS updates. Background While upgrading MOS is generally fairly straightforward via the web UI or using the CLI, it can be time-consuming for mass-deployment. Below is a automation script that network administrators can use to bulk-upgrade Arista 7130 devices. The script is written in Python using the pexpect module. It requires the ssh and scp executable on your host. You can download the script from the Arista releases page. Usage python mos-upgrade-ssh.py <options>. Where options are: -u admin, --user admin -p PASSWORD, --password PASSWORD you will be prompted if none is supplied. Enter anything if password is...
Continue reading →

How to remove MOS image with older releases

Step-by-step guide Check what you have installed. For example: C16-B1-10381-3 login: admin C16-B1-10381-3>enable C16-B1-10381-3#show boot system mos_0.7.0 mos_0.7.1 mos_0.7.2 mos_0.8.0 [BOOT] Remove the one(s) you no longer need. Note you cannot remove currently active volumes (marked as [BOOT]). Also note that you can nuke multiple volumes at once with wildcards – for example: C16-B1-10381-3#bash sudo lvremove /dev/vg1/mos_0.7* Do you really want to remove active logical volume mos_0.7.2? [y/n]: y Logical volume "mos_0.7.2" successfully removed Do you really want to remove active logical volume mos_0.7.1? [y/n]: y Logical volume "mos_0.7.1" successfully removed Do you really want to remove active logical volume...
Continue reading →

What is MOS core?

MOS core is a regular MOS which includes all the features without the weight of any bundled FPGA Apps. Ideal for customers using 7130 Connect devices (7130-16, 7130-48, 7130-96), as well as custom application developers. MOS core installations are ideal for devices that are getting “insufficient free space” error while doing an upgrade. testing:~$ sudo mos-install mos-0.16.0.iso Volume group "vg1" has insufficient free space (160 extents): 164 required. Volume group "vg1" has insufficient free space (11 extents): 125 required. % Command 'sudo /usr/sbin/mos-install mos-0.14.1.iso' returned non-zero exit status 5 test(config)#boot system file:mos-0.14.1.iso Volume group "vg1" has insufficient free space (99...
Continue reading →

What to do when you are getting a “meltdown”, “powerdown” or “system powered down” message

This is step-by-step guide on what actions to take if you are getting messages similar to below. Jan 17 02:08:34 C16-B1-10381-3 daemon.emerg /usr/bin/meltdownd: Temperature 35000 for /sys/class/hwmon/hwmon3/temp1_input is over critical value of 70000. or 17 02:08:34 C16-B1-10381-3 daemon.emerg /usr/bin/meltdownd: over temperature, system powerdown or Jan 17 02:08:50 C16-B1-10381-3 daemon.emerg /usr/bin/meltdownd: system powered down Step-by-step guide Upgrade to MOS-0.16.0 or later version. This can be downloaded from our releases page. Please refer to our FAQ page on how to update your Arista 7130 device. For details about the fix refer to MOSH-1223 within the MOS-0.16.0 release notes. Power cycle the device....
Continue reading →

Troubleshooting a suspected defective fan

Problem: The “show environment cooling” command shows a fan as “NOT WORKING”. Example: M32-A2-06308-5>show env cooling System Cooling Status: OK Ambient temperature: 41C Airflow: BACK-TO-FRONT (REV) Fan Status Speed ---- ------------------------ -------- 1 OK 51% 2 OK 51% 3 NOT WORKING 0% 4 OK 50% Solution: A 7130 device uses two field replaceable fan modules with two fans each providing a total of four fans. The fans are numbered 1-4 from left to right as you look at the rear of the device. The fans should fit snuggly so that they snap into place. Fans are removed by pinching the...
Continue reading →

How to fix high CPU usage caused by the logrotate process

There have been reports of devices experiencing high cpu usage due to the logrotate process consuming CPU resources on Arista 7130 devices. This can be confirmed by dropping down to bash and running the “top” command as shown on the following images. The primary cause of the problem was a logrotate bug introduced in MOS-0.16.0 (fixed in MOS-0.16.7). An incorrect regex pattern lead to the compressed quagga log files being rotated infinitely along with the normal log files leading to chains like this: /mnt/flash/log/quagga/quagga.log-20180513.gz-20180520.gz-20180527.gz-20180603.gz-20180610.gz-20180617.gz-20180624.gz-20180701.gz-20180708.gz-20180715.gz-20180722.gz This leads to the device eventually either running out of disk space or inodes or both....
Continue reading →

Blinking green/amber lights on ports

Below is a short description of what the blinking lights on the SFP ports of an Arista 7130 mean. Green – an SFP is plugged in and is not reporting loss of signal from the SFP. Red – possible link detection and flickers with traffic flow. Amber – link has been detected but there is no traffic.  

At what point-of-time does MetaWatch timestamp?

The term packet capture is used widely to refer to capturing network traffic. It is however, worth understanding precisely what the term packet refers to. The IEEE sets the standards for Ethernet and define an Ethernet packet at the physical layer as a unit of data wrapping a MAC frame at the data link layer (IEEE Std 802.3-2015 Chapter 3.1.1). An Ethernet packet is therefore an Ethernet frame, prefixed by preamble and start frame delimiter (SFD) bytes and optionally suffixed by an extension field (only used for half-duplex GbE networks). Moving up to the network layer, the IETF set the...
Continue reading →


Get every new post on this blog delivered to your Inbox.

Join other followers: