This tool is designed to provide a very simple GUI for the Arista EOS port mirroring functionality. The tool is using Arista eAPI to make json requests and parse responses. Main functionality includes listing active port mirroring sessions, stopping them and creating new sessions.
Additional functionality includes semi-automated switching of the range of source ports to one destination. Use-case - sequential capturing of traffic from multiple sources. Ports assigned to other monitoring sessions are skipped.
100G ports are supported. vEOS is supported.
Python3
pyeapi (pip install pyeapi)
User with privelege level 2 or higher is required. Auto-enable on login for this user is required (aaa authorization exec default local). See This Arista Forum Post for how-to.
Pyinstaller can be used to bake a handy executable file for Windows. first install it using pip, then: pyinstaller -w -F [pythonfile.py]
The tool is licensed with MIT license
pyeapy module is Copyright (c) 2015, Arista Networks EOS+ All rights reserved. Please refer to Arista eAPI for license details.
The software is provided "As is", WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND. Use at your own risk. Lab testing is ALWAYS recomended before any use for production network.