cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1664
Views
0
Helpful
4
Replies

Catalyst C3560CX, Unable to attach flow monitor to vlan

Nirivana
Level 1
Level 1

I was trying to configure bridged NetFlow on 3560CX.

I followed the configuration guide:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960cx_3650cx/software/release/15-2_7_e/configuration_guide/b_1527e_consolidated_3560cx_2960cx_cg/m_1522e_fnf_fnf_2960x_cg.html#task_A53900A8C0F743EFB85D77C4D666E091

I got an error when attempting to apply Flow Monitor to the VLAN:

3560CX(config-vlan-config)#ip flow monitor STD_NF_MON_1 input 
% Flow Monitor: 'STD_NF_MON_1' could not be added.

Below is my configuration:

flow record STD_NF9_1
 description * STANDARD NF RECORD *
 match ipv4 protocol
 match ipv4 source address
 match ipv4 destination address
 match transport source-port
 match transport destination-port
 collect counter bytes long
 collect counter packets long
 collect timestamp sys-uptime first
 collect timestamp sys-uptime last

flow exporter STD_NF_EXP_1
 destination 10.x.x.x
 source Vlan1
 transport udp 9055
 template data timeout 60

flow monitor STD_NF_MON_1
 exporter STD_NF_EXP_1
 record STD_NF9_1

Any help here is appreciated... Thanks..

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

are you applying any range of VLAN ?

 

3560CX(config-vlan-config)#ip flow monitor STD_NF_MON_1 input 

 

show us before this commmand, post complete config you doing right form config t to this error to undertand the issue.

BB

=====Preenayamo Vasudevam=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Pls see below:

3560CX#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
3560CX(config)#vlan configuration 1
3560CX(config-vlan-config)#ip flow mon STD_NF_MON_1 input 
% Flow Monitor: 'STD_NF_MON_1' could not be added.
3560CX(config-vlan-config)#

Configuring a Bridged NetFlow on a VLAN

 

You can apply a flow monitor and an optional sampler to a VLAN.

SUMMARY STEPS

  1. configure terminal
  2. vlan [configuration ] vlan-id
  3. interface {vlan } vlan-id
  4. ip flow monitor monitor name [sampler sampler name] {input |output }
  5. copy running-config startup-config

 

# configure terminal
(config)# vlan configuration 1
(config)# interface vlan 1
3560CX(config-vlan-config)ip flow mon STD_NF_MON_1 input

 

BB

=====Preenayamo Vasudevam=====

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I am aware. I tried copying the exact configuration for bridge NetFlow from the guide and the result is the same. I am not sure if this is due to the limitations of CX switches or some of the parameters in the flow record is not supported.

The reason why I am not applying to SVI is that I have VLANS that do not have SVI configured.

 

I have tried Bridge NetFlow on Catalyst 9300 switches and did not encounter any errors...