https://eos.arista.com/traffic-generator-on-arista/
- iperf
- but seeing time out error? iptables issue? need to check later
- ethxmit
Disclaimer: The information contained in this blog is for informational purposes only and should not be considered as official documentation on any subject matter. The postings on this blog are my own and do not necessarily represent the opinions of my current and previous employers.
https://eos.arista.com/traffic-generator-on-arista/
Before reloading an MLAG peer switch to perform an upgrade/downgrade, one of the key check-ups is to make sure the STP is restartable. Otherwise, traffic loss is expected.
References:
If you are seeing the following error message
And the output of "show interface status" indicates some ethernet ports are error-disabled like
The reason for the above error is that EOS running out of internal VLAN for routed ports. The EOS needs to assign an internal VLAN for the none switching ports. If you have the following 2 lines of configuration, you may hit this error
So the solution is to remove the internal VLAN range.
Here is the subinterface configuration:
interface Ethernet34.4007
description =>v7:Sp4-ck478
mtu 9214
encapsulation dot1q vlan 4007
vrf cust
ipv6 address fe80::1/64 link-local
To ping the remote link-local address, we could use
In a lab scenario, says between 2 routers, there are hundreds of sub-interfaces and a BGP session with BFD on each subinterface. Then BFD flaps is seen. The scale information is as followed:
From the above output, you can see 17 of 256 sessions are not up. And HW BFD is enabled (by default in Eos), but no helps.
ghb289#show bfd hardware utilization
Chip Name Number Of HW Sessions* Maximum Number Of HW Sessions*
--------------- ---------------------------- ------------------------------
Jericho0 0 200
Jericho1 128 200
Jericho2 128 200
References/Manual:
In this post, I like to explain the output of the EOS command - "show qos interface eth#" based on my understanding from EOS document.
wa461.00:58:25#sh qos interfaces e17/1
Ethernet17/1:
Trust Mode: DSCP
Default COS: 0
Default DSCP: 0
Port shaping rate: disabled
Burst-size: disabled
Tx Bandwidth Shape Rate Burst-Size Priority ECN/WRED
Queue (percent) (units) (units)
------------------------------------------------------------------------------------------
7 - / - - / - ( - ) - / - SP / SP D
6 - / - - / - ( - ) - / - SP / SP D
5 - / - - / - ( - ) - / - SP / SP D
4 - / - - / - ( - ) - / - SP / SP D
3 - / - - / - ( - ) - / - SP / SP D
2 20 / 20 1.2 / 1.0 (Gbps) 2048 KB / 2048 KB RR / RR D
1 30 / 30 - / - ( - ) - / - RR / SP D
0 50 / 50 - / - ( - ) - / - RR / SP D
Note: Values are displayed as Operational/Configured
Legend:
RR -> Round Robin
SP -> Strict Priority
- -> Not Applicable / Not Configured
% -> Percentage of line rate
This article - "A Simple Quality of Service Design Example" is a very good starting point for understanding the EOS Qos architecture and starting a Qos design.
Some points:
The default EOS Copp only provides protocol level traffic policy, for example, the maximum throughput of bgp traffic destined to the cpu. But there is no granularity of source address. So this feature - Support for CPU traffic policy is for this purpose.
In Arista EOS, the following protocol packets are able to set a DSCP value other than the default value 0:
Notes:
If you see the error message with EOS command - show bgp <AF> summary, it is probably caused the routing mode. To be more specific, you are probably running ribd mode and the CLI - "show bgp <AF> summary" is only supported in multi-agent mode
ghs259#show bgp ipv6 unicast summary
% Not supported
ghs259-CIN-DPA2.23:32:18#show ip route summary
Operating routing protocol model: ribd
Configured routing protocol model: multi-agent (will apply after next reboot)
In this post, I will share my experience with a relatively old (was released back in 2015) but very useful Arista EOS feature - BGP Selective Route Download (SRD).
The use cases are quite straightforward: