350-601 · Question #390
Refer to the exhibit. A network engineer must run a continuous capture on a port A script called ''capture'1 is created to start and stop the capture task. Which command sequence makes the capture…
The correct answer is C. Option C. To ensure a capture script runs persistently after a device reboot, the command to execute the script must be placed in the startup configuration. The run-script command, followed by the script name, needs to be saved to the startup configuration.
Question
Refer to the exhibit. A network engineer must run a continuous capture on a port A script called ''capture'1 is created to start and stop the capture task. Which command sequence makes the capture persistent after a reboot?
Exhibit
Options
- AOption A
- BOption B
- COption C
- DOption D
How the community answered
(40 responses)- A3% (1)
- B5% (2)
- C83% (33)
- D10% (4)
Why each option
To ensure a capture script runs persistently after a device reboot, the command to execute the script must be placed in the startup configuration. The `run-script` command, followed by the script name, needs to be saved to the startup configuration.
This option, lacking context from an exhibit, would be incorrect if it does not involve saving the configuration to make it persistent.
This option, lacking context from an exhibit, would be incorrect if it does not involve saving the configuration to make it persistent.
The `run-script capture` command executes the specified script. To make this execution persistent across reboots, the command must be saved as part of the startup configuration, typically by using a command like `copy running-config startup-config` after the script execution is configured to occur at boot.
This option, lacking context from an exhibit, would be incorrect if it does not involve saving the configuration to make it persistent.
Concept tested: Network device persistent configuration and script execution
Topics
Community Discussion
No community discussion yet for this question.
