350-401 · Question #272
Refer to the exhibit. Which command set must be added to the configuration to analyze 50 packets out of every 100?
The correct answer is D. sampler SAMPLER-1. To analyze a specific fraction of network packets, a NetFlow sampler must be configured to define the sampling rate.
Question
Exhibits
Options
- Ainterface GigabitEthernet 0/0/0 ip
- Bsampler SAMPLER-1
- Cflow monitor FLOW-MONITOR-1
- Dsampler SAMPLER-1
How the community answered
(59 responses)- A15% (9)
- B10% (6)
- C3% (2)
- D71% (42)
Why each option
To analyze a specific fraction of network packets, a NetFlow sampler must be configured to define the sampling rate.
`interface GigabitEthernet 0/0/0 ip` is an incomplete command and only enters interface configuration mode; it does not configure packet sampling.
While `sampler SAMPLER-1` is correct for defining a sampler, the option provided `sampler SAMPLER-1` is the start of the configuration block for a sampler, not a complete command set for analysis without further configuration of the rate.
`flow monitor FLOW-MONITOR-1` defines a flow monitor, which specifies how flow data is collected and exported, but it does not define the *sampling rate* for packets; a separate sampler is required for that.
To analyze 50 packets out of every 100, which is a sampling rate of 1 in 2, a NetFlow sampler must be configured. The `sampler SAMPLER-1` command initiates the configuration of a named sampler where the sampling mode and rate (e.g., `mode random 1 out of 2`) would be defined, and then applied to an interface.
Concept tested: NetFlow/Flexible NetFlow packet sampling
Source: https://www.cisco.com/c/en/us/td/docs/ios-xml/ios/fnetflow/configuration/15-mt/fnf-15-mt-book/fnf-cfg-fnf.html
Topics
Community Discussion
No community discussion yet for this question.

