ACE-A1-2 practice question 18 of 25

Which of the following statements is false?

Full set: 127 questions

Domain Troubleshooting

Answer options
A: You can run bash commands from CLI with the bash command.
B: You can run CLI commands from bash with the Cli command.
C: You can run CLI commands from bash with the FastCli command.
D: You can run CLI commands from CLI with the Cli command. Correct answer
Correct Answer:
D. You can run CLI commands from CLI with the Cli command.
Explanation

The statement that you can run CLI commands from the CLI with the Cli command is false. The Cli command is a utility accessible from the underlying Linux (bash) shell, not from within the EOS Command-Line Interface (CLI) itself. When operating within the EOS CLI, commands such as show version or configure terminal are executed directly without any prefix. The Cli and FastCli utilities are specifically designed to bridge the gap from the bash shell back to the EOS CLI, primarily for scripting and automation purposes.

Why Incorrect

A. This is a true statement. The bash command is the standard method to access the underlying Linux shell from the EOS CLI prompt.
B. This is a true statement. The Cli utility allows users to execute EOS commands directly from the bash shell, for example: Cli -c "show version".
C. This is a true statement. FastCli is another utility, similar to Cli, used to run EOS commands from the bash shell, often favored for its performance in scripts.

References

1. Arista Networks EOS System Configuration Guide, Release 4.27.0F:

Section: Accessing the Shell: "To access the Linux shell, enter the bash command." This validates that option A is a true statement.

Section: Running CLI Commands from the Shell: "To execute a single CLI command from the shell, use the Cli or FastCli command... Example: [admin@Arista ~]$ Cli -c "show clock"". This validates that options B and C are true statements. The guide's general command syntax examples for the CLI itself show direct command entry (e.g., switch# show interfaces), implicitly confirming that a Cli prefix is not used within the CLI, making statement D false.

Scroll to Top