Arista Certified Engineer – Associate (ACE-A) — Question 36
How might you filter the output from the show interfaces counters errors command to be more useful by removing lines containing all zeroes?
Answer options
- A. show interfaces counters errors | grep nozeroes
- B. show interfaces counters errors | grep pipe nozeroes
- C. show interfaces counters errors | email[email protected]
- D. show interfaces counters errors | nz
Correct answer: D
Explanation
The correct answer is D because the 'nz' command is specifically designed to filter out lines with all zeroes. The other options do not provide valid commands for this purpose; A and B incorrectly use 'grep' with invalid syntax, and C attempts to email the output, which is not relevant to filtering the displayed results.