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:
Features:
TCPDUMP
External Link
Arista(config)#bash tcpdump -nevvvi any '((port 22) and (host 172.22.26.209))'
More examples here
CLOUDVISION (automation)
Streamed telemetry.