300-635 · Question #23
Refer to the exhibit. Which configuration change command must be run on the Cisco NX-OS device to make this command work?
The correct answer is D. feature bash-shell. On Cisco NX-OS, optional capabilities are enabled using the feature <name> syntax, so feature bash-shell is the correct command to unlock the bash shell before running commands like run bash. Option A (enable bash-shell) incorrectly borrows from IOS privilege-mode syntax, where…
Question
Options
- Aenable bash-shell
- Bbash-shell enable
- Cservice bash-shell
- Dfeature bash-shell
How the community answered
(46 responses)- A2% (1)
- B7% (3)
- C2% (1)
- D89% (41)
Explanation
On Cisco NX-OS, optional capabilities are enabled using the feature <name> syntax, so feature bash-shell is the correct command to unlock the bash shell before running commands like run bash. Option A (enable bash-shell) incorrectly borrows from IOS privilege-mode syntax, where enable means something entirely different. Option B (bash-shell enable) reverses the required word order and is not valid NX-OS syntax. Option C (service bash-shell) mimics IOS service commands (e.g., service password-encryption) but is not a valid NX-OS construct for this purpose.
Memory tip: In NX-OS, think "feature first" - any optional protocol or shell capability follows the pattern feature <name> (e.g., feature ospf, feature bgp, feature bash-shell). If you remember that NX-OS uses feature as the universal on-switch, you can eliminate all other options immediately.
Topics
Community Discussion
No community discussion yet for this question.