cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1725
Views
5
Helpful
2
Replies

Flexible Netflow queries IOS-XE on 4500X

aacole
Level 5
Level 5

 

I'm in the process of configuring FNF on a C4500X switch running IOS-XE 03.05.03, the documentation is not too clear on some aspects of this.

I have it working when attached to a vlan, now I'm setting up another policy to attach to a port-channel configured as a layer 2 trunk.

First, what is the difference between the `match' and `collect' statement, they are not described in the configuration guide. I cannot find a command guide for this switch, does one exist?

 

I'm tried to apply this to the PO:

flow record REC02
! match interface input
 match datalink dot1q vlan input
! match datalink dot1q vlan output
! collect counter bytes long
! collect counter packets long

flow monitor NETFLOW-MON02
 exporter NETFLOW-EXPORTER
 cache entries 2000
 record REC02

int po10

ip flow monitor NETFLOW-MON02 layer2-switched input

 

The commented out lines are those that I've cut out one by one to get this to work, each time I get the error message:

% Flow Monitor: Flow Monitor 'NETFLOW-MON02' - Incompatible traffic type: Record has Datalink, monitor applied with IPv4

What am I doing wrong here??

 

TIA, Andy

 

 

 

 

2 Replies 2

orotter
Level 1
Level 1

Hi Andy ,

We also encountered this issue.

Did  you find a solution ?

Oded

roor
Cisco Employee
Cisco Employee

Hi Andy, Oded,

Apply the flow monitor you have defined as a datalink monitor instead of an ip monitor.

datalink flow monitor NETFLOW-MON02 layer2-switched input

HTH,

Roopa