350-601 · Question #439
Refer to the exhibit. A network engineer is using tcpdump to capture a snapshot of OSPF-related traffic on a specific Cisco NX-OS switch port. For security reasons, the capture must be taken using…
The correct answer is A. guestshell. To execute a tcpdump command within an embedded container on a Cisco Nexus device for capturing OSPF traffic, the engineer must first enter the guestshell environment.
Question
Refer to the exhibit. A network engineer is using tcpdump to capture a snapshot of OSPF-related traffic on a specific Cisco NX-OS switch port. For security reasons, the capture must be taken using an embedded container that is already deployed on the Cisco Nexus device. Which command completes the script?
Exhibit
Options
- Aguestshell
- Bguestshell-bash
- Crun guestshell
- Drun bash
How the community answered
(40 responses)- A93% (37)
- B3% (1)
- D5% (2)
Why each option
To execute a `tcpdump` command within an embedded container on a Cisco Nexus device for capturing OSPF traffic, the engineer must first enter the `guestshell` environment.
On Cisco NX-OS devices, `guestshell` provides a Linux container environment where users can run Linux applications like `tcpdump` in an isolated and secure manner. The `guestshell` command is used to access this environment.
`guestshell-bash` is not a standard command to enter the guestshell environment; `guestshell` alone is sufficient.
`run guestshell` is redundant because `guestshell` directly provides access to the container shell.
`run bash` would attempt to run a bash shell from the main NX-OS CLI, which does not place the user into the isolated `guestshell` container environment.
Concept tested: Cisco NX-OS Guest Shell (guestshell) for embedded container access.
Source: https://www.cisco.com/c/en/us/td/docs/switches/datacenter/nexus9000/sw/7-x/prog_guide/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x/b_Cisco_Nexus_9000_Series_NX-OS_Programmability_Guide_7x_chapter_0100.html
Topics
Community Discussion
No community discussion yet for this question.
