Netflow Flashcards

1
Q

What is the port used by the Netflow protocol?

A

Netflow is UDP but it does NOT have an assigned port number. Each flow sensor will use a unique port number as designated by an admin.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the commands to enable basic netflow for interface Gi0/0 on a router for the destination of 10.1.0.111 using the port 9998?

A

FLOW(config)# int gi0/0

FLOW(config-if)# ip flow ingress

FLOW(config-if)# ip flow egress

FLOW(config)# ip flow-top-talkers

FLOW(config-flow-top-talkers)# top 5

FLOW(config-flow-top-talkers)# sort-by bytes

FLOW(config)# ip flow-export version 9

FLOW(config)# ip flow-export destination 10.1.0.111 9998

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What command(s) could you use to verify the netflow is working?

A

show ip cache flow

show ip flow top-talkers

NOTE: Netflow data on a router expires quickly so these commands are really only good to troubleshoot if netflow is working.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

When using the show commands to verify netflow, how are the source and destination port numbers displayed?

A

In hexadecimal format (instead of decimal)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the three pieces you need to configure to create flexible netflow on a router?

A

Flow Record
Flow Export
Flow Monitor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What two things do you need to do to configure a flow record?

A

1.) Define the criteria of a flow using the match command

2.) Define information you want to gather with the collect command

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What two things do you need to do to configure a flow exporter?

A

1.) The destination collector server, using the destination command

2.) The port number for the flow sensor using the transport udp <port> command</port>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What two things do you need to configure a flow monitor?

A

1.) the flow record to be used with the record <NAME> command</NAME>

2.) the flow exporter to be used with the exporter <NAME> command</NAME>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Using IOS commands, configure a flexible netflow that uses source ipv4 address to collect ipv4 source, destination, and protocol information and apply it to interface gi0/0

A

FLOW(config)# flow record FLOW_REC_1

FLOW(config-flow-record)# description basic netflow information

FLOW(config-flow-record)# match ipv4 source address

FLOW(config-flow-record)# collect ipv4 source address

FLOW(config-flow-record)# collect ipv4 protocol

FLOW(config-flow-record)# collect ipv4 destination address

FLOW(config)# flow exporter FLOW_EXP_1

FLOW(config-flow-exporter)# description flows exported to my PRTG server A

FLOW(config-flow-exporter)# destination <flow></flow>

FLOW(config-flow-exporter)# transport udp <flow></flow>

FLOW(config)# flow monitor FLOW_MON_1

FLOW(config-flow-monitor)# exporter FLOW_EXP_1

FLOW(config-flow-monitor)# record FLOW_REC_1

FLOW(config)# int gi0/0

FLOW(config-if) ip flow monitor FLOW_MON_1 input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What show commands would you use to verify flexible netflow on a Cisco device?

A

show flow recorder

show flow exporter

show flow monitor

How well did you know this?
1
Not at all
2
3
4
5
Perfectly