exam questions

Exam 350-601 All Questions

View all questions & answers for the 350-601 exam

Exam 350-601 topic 1 question 244 discussion

Actual exam question from Cisco's 350-601
Question #: 244
Topic #: 1
[All 350-601 Questions]

DRAG DROP -
A network administrator must automate the process of pinging all the IP addresses from the 10.0.0.0/8 subnet. The subnet is already present on the ARP table of the Cisco Nexus switch. Drag and drop the bash commands to generate the desired output. Not all commands are used.
Select and Place:

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Mario_134354
5 months ago
Correct answwer is: vsh -c "show ip arp" | grep "^10\." | awk '{print "ping " $1}' | vsh | egrep "statistics|loss" 1. vsh -c "show ip arp" 2. awk '{print "ping " $1}' 3. vsh 4. egrep "statistics|loss" i have simulated on my device: bash-4.2$vsh -c "show ip arp" | grep "^1\." | awk '{print "ping " $1}' | vsh | egrep "statistics|loss" --- 1.1.1.1 ping statistics --- 5 packets transmitted, 5 packets received, 0.00% packet loss --- 1.1.1.2 ping statistics --- 5 packets transmitted, 5 packets received, 0.00% packet loss
upvoted 2 times
...
[Removed]
12 months ago
test in my lab bash-4.3$ vsh -c "show ip arp vrf management" | grep "^10\." | awk '{print "ping " $1}' ping 10.6.1.1 bash-4.3$ vsh -c "show ip arp vrf management" | grep "^10\." | awk '{print "ping " $1}' | vsh | egrep "statistics|loss" --- 10.6.1.1 ping statistics --- 5 packets transmitted, 0 packets received, 100.00% packet loss
upvoted 2 times
...
Scheldon
1 year ago
I do not have possibility to check that but I think that command should looks like below bash-4.3$vsh -c "show ip arp"|grep "^10\."|vsh|awk'{print "ping" $1}'|egrep "statistics|loss"
upvoted 2 times
...
mendieta
1 year, 10 months ago
i think it might use only 3 squares in the following order: vsh -c "show ip arp", awk'{print "ping" $1}', egrep "statistics|loss" grep -v <reference> will display everything but the reference.
upvoted 1 times
Salilgen
1 year, 7 months ago
step1: vsh -c "show ip arp" step2: awk'{print "ping" $1}' step3: vsh step4: egrep "statistics|loss" step3 is necessary because egrep command must process the ping command output and not awk command output
upvoted 9 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago