I wrote some triggers to get colors when using iTerm2 (screenshot below) with Arista EOS but it should also work on Cisco IOSes with some minor tuning.
iTerm2 is a replacement for Terminal and the successor to iTerm. It works on Macs with macOS 10.14 or newer. It allows you to create Triggers. Triggers watch for text matching a regular expression to arrive in a terminal session and then perform an action in response. You can't import triggers from a file/profile but you can configure them on "Preferences, Profile, Advanced, Edit Triggers".
The whole options are detailed in the official documentation for triggers.
Read more Triggers for iTerm2 (example for Arista EOS)
If needed, please read my previous blog post to configure your RPKI/ROA validators and sFlow visualisation with pmacct/influxDB/Grafana. It's always better to see what you are doing :)
I found several interesting documentation on the Arista website :
- Standalone BGP Origin Validation with RPKI : https://eos.arista.com/bgp-origin-validation-rpki/
- Securing Inter Domain Routing with RPKI : https://eos.arista.com/sidr-with-rpki/
- BGP Prefix Origin Validation with Resource Public Key Infrastructure (RPKI) : https://eos.arista.com/eos-4-24-0f/bgp-prefix-origin-validation-with-resource-public-key-infrastructure-rpki/
This page is a memo of the useful commands I used (and some tips) :
Read more Dropping RPKI/ROA invalid routes on Arista EOS
I know some files (like startup-config) are synchronized between supervisor cards on Arista chassis :
DCS-7508N(s1)#show redundancy file-replication
0 files unsynchronized, 5 files synchronized, 0 files failed, 5 files total.
File Status Last Synchronized
---------------------------- ------------------ --------------------
file:persist/secure Synchronized 45 days, 5:52:41 ago
file:persist/sys Synchronized 0:04:05 ago
flash:.assetTags Synchronized 45 days, 5:52:41 ago
flash:startup-config Synchronized 0:38:59 ago
flash:zerotouch-config Synchronized 45 days, 5:52:42 ago
But I could not find any way to synchronize my homemade scripts easily, so I wrote a script to do it :
Read more Arista EOS : sync dir and files between supervisor cards
I've added in a github repository some of the scripts I use for basic operations.
The username should be provide in argument while the password will be requested by the prompt,
here are the details :
Read more Arista EOS automation scripts with the API
This is the presentation I made at FRnOG #33 to explain how we virtualized our route-server services at HOPUS.net with BIRD, docker on arista EOS : https://afenioux.fr/doc/presentations/FRnOG33-2019.pdf
Keywords are : #Docker #Arista #BIRD #route-server #NFV #SDN #bingo!
(Scripts and details below)
Read more FRnOG33 - How to put a bird on a docker container