User Tools

Site Tools


network_stuff:arista:arista

This is an old revision of the document!


ARISTA
To enable scp on the management vrf:

$ sudo ip netns exec ns-management bash

All the tech support files are periodically saved in /mnt/flash/schedule/tech-support

SYSLOG MESSAGES
See this link for a complete list of syslog messages.
Terminal console: always on
Terminal monitor:

term mon
term no mon
sh terminal ! To see which terminal I am on

To change the logging level:
For the console:

IOU1(config)#logging console ?

For the terminal (tty):

IOU1(config)#logging monitor 

Logging to your terminal for debugging purposes. See this link.

CLI

bash

To see the SFP types - transceivers:

show interfaces phy detail  ! long reply
show transceiver status interface Ethernet14/1  ! specific reply
show idprom transceiver

Troubleshooting with Arista switches link

ARISTA SCRIPTING

find-the-next-free-vlan-id
introduction-to-managing-eos-devices-annex-b-eos-tips-for-power-user

This is to list the IP addresses and have them ordered (-n order numbers , -t . user dot as separator -k i i order first by the i digits)

sh ip int brie | awk '{print $2}' | sort -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4

ARISTA MLAG

sh mlag
sh mlag interfaces
show mlag config-sanity



FIRST BOOT

localhost login: admin # and no password
en
zerotouch disable # the device reboots

EOS UPGRADE:
Arista firmware upgrade (not Aboot boot-loader for the switch (which is really a Linux system))

scp  EOS-4.18.2F.swi admin@192.168.160.102://mnt/flash/EOS-4.18.2F.swi 
Or directly with WinSCP. Use H: as local drive
dir flash:
verify /md5 flash:EOS-4.25.5.1M.swi
conf t
boot system flash:EOS-4.25.5.1M.swi   ! no need to save after ths
reload now

ARISTA SHELL (LINUX):
https://eos.arista.com/traffic-generator-on-arista/#3_Generating_Multicast_traffic

en
bash 
sudo -i
tcpdump 
iperf..
mz..

AUTOMATION

ANSIBLE
Arista_Ansible_in_a_different_section


SWITCHES LINE:

  • 7280R : 32 x 100G QSFP
    • Universal leaf leaf. Fixed configuration. Up to 100G. ld5
  • 7508R3: modular
    • For cloud design and datacenter
    • 400G OSFP or QSFP-DD
  • 7130 : L1 switches with optional FPGAs. As low latency as 4ns.
  • 7150 : ultra low latency (400ns)
  • 7160-48TC6
    • 48 x 10GBASE-T, 6 x 100G QSFP

Features:

  • Signal regeneration
  • Port mirroring
  • Dynamic patching/link management
  • Ad-hoc tapping without rewiring
  • Layer 1+ statistics on every link
  • Media conversion
  • Telemetry and more
  • Cut-through technology: We have plain cut-through (6bytes(dmac) enough) cut-through fragment free (64B, not in use anymore). Cut-thru switches can’t check CRC, they will just cause retransmission of bad packets. If the switch uses single-stage crossbar fabric with Virtual Output Queue (VOQ) cut-thru might not be viable.

TCPDUMP
External Link

Arista(config)#bash tcpdump -nevvvi any '((port 22) and (host 172.22.26.209))'

More examples here


CLOUDVISION (automation)
Streamed telemetry.

  • Internally Arista is Push/Subscribe model (not polling, polling is bad!). Sysdb.
  • State streaming. Events to systemd

ARISTA VRRP (ALTERNATIVE)
https://www.arista.com/en/um-eos/eos-varp aka Anycast gateway.
Same MAC in both routers. First one picking up the packet will route it anyway.

network_stuff/arista/arista.1684418297.txt.gz · Last modified: (external edit)