QuestionQ34

Operations

Refer to the exhibit.

Question Image

The script is named deltacounters.py and is currently located in a Guest Shell container running on a Cisco NX-OS switch.

Which Cisco NX-OS command successfully executes 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
Explanation

The guestshell run command runs a Linux command inside the Cisco NX-OS Guest Shell. Python must be invoked with the script’s Guest Shell path, /home/admin/deltacounter.py, followed by the interface argument ethernet1/1. Cisco documents guestshell run command as the form for executing commands in the Guest Shell.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!