https://www.arista.com/assets/data/pdf/Whitepapers/Arista_EOS_parser.pdf
Arista EOS CLI is implemented in Python, so you can customize the CLI yourself. Of course it is limited to simple output instead of complicated contents.
Step 1: Modify the CLI script
bn303.17:40:17#bash
Arista Networks EOS shell
[admin@bn303 ~]$ cd /usr/lib/python2.7/site-packages/CliPlugin/
[admin@bn303 CliPlugin]$ vi RoutingBgpShowCli.py
[admin@bn303 CliPlugin]$ sudo vi RoutingBgpCli.py
Step 2: save the new CLI script and load up during boot
copy the modified to /mnt/flash
the /usr/lib is file system in memory, unsustainable after reboot.
vi /mnt/flash/rc.eos, so copy the save script to the location
No comments:
Post a Comment