Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Arista ACE-A1.2 Exam - Topic 4 Question 115 Discussion

How might you filter the output from the show interfaces counters errors command to be more useful by removing lines containing all zeroes?
D) show interfaces counters errors | nz
A) show interfaces counters errors | grep nozeroes
B) show interfaces counters errors | grep pipe nozeroes
C) show interfaces counters errors | email tac@arista.com

Arista ACE-A1.2 Exam - Topic 4 Question 115 Discussion

Actual exam question for Arista's ACE-A1.2 exam
Question #: 115
Topic #: 4
[All ACE-A1.2 Questions]

How might you filter the output from the show interfaces counters errors command to be more useful by removing lines containing all zeroes?

Show Suggested Answer Hide Answer
Suggested Answer: D

Contribute your Thoughts:

0/2000 characters
Gracia
6 months ago
C is totally off base, that's not how you filter output.
upvoted 0 times
...
Tandra
6 months ago
I think B is incorrect, it doesn't make sense.
upvoted 0 times
...
Sherita
6 months ago
D looks a bit sketchy, not sure what "nz" means.
upvoted 0 times
...
Annamae
6 months ago
Wow, I didn't know you could filter like that!
upvoted 0 times
...
Sylvie
6 months ago
Option A is the right command!
upvoted 0 times
...
Colton
7 months ago
I definitely remember that "grep" is the right tool, but I can't remember if we need to specify "pipe" in the command.
upvoted 0 times
...
Leanna
7 months ago
I feel like "nz" could be a shorthand for filtering, but I don't remember if that's a standard command.
upvoted 0 times
...
Michel
7 months ago
I remember practicing a similar question, and I think it was something like "grep nozeroes" but I can't recall if that's the right term.
upvoted 0 times
...
Trina
7 months ago
I think we need to use grep to filter out the zeroes, but I'm not sure about the exact syntax.
upvoted 0 times
...
Gayla
8 months ago
Hmm, I'm a bit confused on this one. I know we need to filter the output, but I'm not sure if grep is the right tool or if there's a more specific command for this. I'll have to review my notes and see if I can figure out the best approach.
upvoted 0 times
...
Fabiola
8 months ago
Ah, this is a good one. I remember learning about using the pipe character to chain commands together. I think I'll try something like "show interfaces counters errors | grep -v '^0 0 0 0$'" to filter out the lines with all zeroes.
upvoted 0 times
...
Hoa
8 months ago
Okay, let me think this through. I know grep can be used to filter output, but I'm not sure about the exact syntax to remove the lines with all zeroes. I'll have to think about this one a bit more.
upvoted 0 times
...
Adell
8 months ago
Hmm, this looks like a command-line filtering question. I think I'll try using grep to remove the lines with all zeroes.
upvoted 0 times
...
Ivan
9 months ago
Hmm, I think option A looks promising. Filtering out the lines with all zeroes could really make that command more readable.
upvoted 0 times
...
Son
10 months ago
I think option A) show interfaces counters errors | grep nozeroes is the way to go.
upvoted 0 times
...

Save Cancel