nerdexam
Cisco

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.

Network

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

350-601 question #439 exhibit

Options

  • Aguestshell
  • Bguestshell-bash
  • Crun guestshell
  • Drun bash

How the community answered

(40 responses)
  • A
    93% (37)
  • B
    3% (1)
  • D
    5% (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.

AguestshellCorrect

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.

Bguestshell-bash

`guestshell-bash` is not a standard command to enter the guestshell environment; `guestshell` alone is sufficient.

Crun guestshell

`run guestshell` is redundant because `guestshell` directly provides access to the container shell.

Drun bash

`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

#Cisco NX-OS#guestshell#packet capture#Network Troubleshooting

Community Discussion

No community discussion yet for this question.

Full 350-601 Practice