Refer to the exhibit. The script is called deltacounters.py and it is currently inside a Guest Shell container running inside a Cisco NX-OS switch. Which Cisco NX-OS command results in a successful execution of this script?
A.
python /home/admin/bootflash:deltacounters.py ethemet1/1
B.
show python bootflash:deltacounters.py ethernet1/1
C.
guestshell run python /home/admin/deltacounter.py ethernet1/1
D.
guestshell execute python /home/admin/deltacounter.py ethernet1/1
The order of the command in C seems to be incorrect as i read in https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/programmability/guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x/Guest_Shell.html under the header Accessing the Guest Shell:
n Cisco NX-OS, only network-admin users can access the Guest Shell by default. It is automatically enabled in the system and can be accessed using the run guestshell command. Consistent with the run bash command, these commands can be issued within the Guest Shell with the run guestshell command form of the NX-OS CLI command.
So I would go with answer A.
Doing tests:
A does nopt work for me in guestshell, it can't find the bootflash: path
And the question asks for a Cisco NX-OS command, which C is, and A could be, if the path exists. So I need to change my answer form A to C
Answer C is correct, there are two possibilities:
guestshell run command
or
run guestshell command
upvoted 4 times
...
This section is not available anymore. Please use the main Exam Page.300-635 Exam Questions
Log in to ExamTopics
Sign in:
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.
Ietsmeteennaam
1 year agoIetsmeteennaam
1 year agoGrowbot
1 year, 5 months agoMili0098
1 year, 6 months agoanonymousch
3 years, 4 months ago