nerdexam
Cisco

200-201 · Question #229

Refer to the exhibit. An analyst was given a PCAP file, which is associated with a recent intrusion event in the company FTP server. Which display filters should the analyst use to filter the FTP…

The correct answer is B. tcp.port == 21. To filter FTP traffic in Wireshark, the display filter should target TCP port 21, which is the standard control port for FTP.

Submitted by fernanda_arg· Mar 6, 2026Network Intrusion Analysis

Question

Refer to the exhibit. An analyst was given a PCAP file, which is associated with a recent intrusion event in the company FTP server. Which display filters should the analyst use to filter the FTP traffic?

Exhibit

200-201 question #229 exhibit

Options

  • Adstport == FTP
  • Btcp.port == 21
  • Ctcpport = FTP
  • Ddstport = 21

How the community answered

(33 responses)
  • A
    6% (2)
  • B
    91% (30)
  • C
    3% (1)

Why each option

To filter FTP traffic in Wireshark, the display filter should target TCP port 21, which is the standard control port for FTP.

Adstport == FTP

`dstport == FTP` uses an invalid syntax for specifying a port; Wireshark requires numerical port values for this type of filter.

Btcp.port == 21Correct

`tcp.port == 21` is the correct Wireshark display filter to capture all TCP traffic that uses port 21, which is the default control port for FTP, encompassing both source and destination traffic.

Ctcpport = FTP

`tcpport = FTP` is syntactically incorrect, using a single equals sign instead of a double equals sign for comparison and attempting to use a service name instead of a numeric port.

Ddstport = 21

`dstport = 21` uses an incorrect assignment operator (`=`) instead of the comparison operator (`==`) and only filters for destination port 21, potentially missing the server's source port traffic.

Concept tested: Wireshark display filters for FTP

Source: https://www.wireshark.org/docs/dfref/t/tcp.html

Topics

#Wireshark#packet analysis#FTP#TCP ports

Community Discussion

No community discussion yet for this question.

Full 200-201 Practice