NetFlow Sim
April 4th, 2024in ENCOR Lab SimGo to comments
Tasks
The Operations team started configuring several monitoring activities. Complete the configurations for
the tasks below.
1. Complete the Flexible NetFlow Flow Exporter configuration on R1 to send data to the collector using
UDP port 2055.
2. Configure the switch port analyzer on Sw1 and mirror all communication to and from PC1 to interface
E1/1 using session number 11.
3. Schedule the pre-configured IP SLA operation on R1 to start running immediately and to run
indefinitely.
Topology
Pin
Solution
Note: All the parameters (port, IP addresses, session number, IP SLA number…) may be different so
please check them carefully.
Task 1. Complete the Flexible NetFlow Flow Exporter configuration on R1 to send data to the collector
using UDP port 2055.
We should use “show run” command to check if there is any existed Flow Exporter or not. If not we can
define any name for it. Suppose the name of the Flow Exporter here is “MyFlowExporter”.
We are not sure the IP address of NetFlow Collector. If we can access Sw1, use “show run” command to
check if we can find it (in the description of the interfaces, something like: description ***Connected to
NetFlow Collector***). Suppose the NetFlow Collector here is PC2 with IP address [Link]. We will use
it in “destination” command below:
Gruppo TIM - Uso Interno - Tutti i diritti riservati.
On R1:
flow exporter MyFlowExporter
destination [Link]
transport udp 2055
export-protocol netflow-v9
Task 2. Configure the switch port analyzer on Sw1 and mirror all communication to and from PC1 to
interface E1/1 using session number 11.
PC1 is on interface e0/1 of the switch so we will monitor this interface:
On Sw1:
monitor session 11 source interface e0/1 both
monitor session 11 destination interface e1/1
Task 3. Schedule the pre-configured IP SLA operation on R1 to start running immediately and to run
indefinitely.
First we need to find out the IP SLA number which was preconfigured with “show run” command.
R1#show run
...
ip sla 5
...
Suppose the IP SLA number we found is 5. We will use this number in the next command.
On R1:
R1(config)#ip sla schedule 5 life forever start-time now
Save the configuration
R1#,SW1#copy running-config startup-config
Gruppo TIM - Uso Interno - Tutti i diritti riservati.