ACE-P-ALE1-04 practice question 11 of 35

Which of the following interpreters are included on Arista switches?

Full set: 100 questions
Answer options
A: /usr/bin/bash Correct answer
B: /usr/bin/perl
C: /usr/bin/python Correct answer
D: /usr/bin/Cli
E: All of them
Correct Answer:
A. /usr/bin/bash; C. /usr/bin/python
Explanation

Arista's Extensible Operating System (EOS) is built on a standard, unmodified Linux kernel. This foundation provides native access to the Bash shell (/usr/bin/bash) for system-level administration and scripting. Additionally, a core feature of EOS is its deep integration with Python (/usr/bin/python), which is included for on-box automation, event-driven scripting, and interaction with the EOS API (eAPI). Both interpreters are included by default on Arista switches.

Why Incorrect

B. /usr/bin/perl: Perl is not included in the default Arista EOS software image, though it could be manually installed as an extension.
D. /usr/bin/Cli: Cli refers to the Command Line Interface application itself. It is not a general-purpose scripting interpreter for files in the same way as Bash or Python.
E. All of them: This option is incorrect because Perl is not included by default, and Cli is not a script interpreter in this context.

References

1. Arista Networks, EOS 4.28.1F Configuration Guide.

Section: Accessing the Linux Shell (Page 129): "From the EOS command line, you can access the underlying Linux operating system’s Bash shell by entering bash or bash sudo." This confirms the inclusion of Bash.

Section: Python (Page 1205): "Arista EOS provides a Python interpreter, allowing you to run Python scripts directly on the switch." This confirms the inclusion of Python.

2. Arista White Paper, "Introduction to EOS Programmability".

Section: On-Box Scripting (Page 4): "EOS provides a standard unmodified Linux kernel and with that, access to the Linux shell (Bash) and all of the standard Linux tools... EOS also provides direct access to a Python interpreter from the CLI." This document explicitly mentions that both Bash and Python are available.

Scroll to Top