cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

C9300 Netflow input counter not working.

Translator
Community Manager
Community Manager

Hi.
Two C9300 switches are in use with HSRP configuration.
Netflow in/out is set for uplink of Act switch and uplink of Std switch as follows.
I checked the in/out traffic flow on the Act switch.
And I only checked out traffic on Std switch.
Although there is input traffic of Std switch, netflow counter does not increase.
It does not work even after generating and checking traffic such as ICMP and SSH for the Std uplink interface.

I checked the output below as a result of the "show flow monitor netflow_monitor_in cache format table" command.

There are no cache entries to display.
Error when attempting to display distributed flows << what mean?

I see it for the first time.
"Error when~"
What is the cause?

Both Act/Std switches are using the same netflow config.
There is no problem with ip cef and ip routing.
Please help.
Thanks

 

 

 

 

 

Model : C9300-48T-A


IOS-XE: 16.6.4a


netflow config :

 

flow record netflow_in
match interface input
match ipv4 source address
match ipv4 destination address
match ipv4 protocol
match transport source-port
match transport destination-port
collect counter bytes long
collect counter packets long
collect timestamp absolute first
collect timestamp absolute last
!
!
flow record netflow_out
match interface output
match ipv4 source address
match ipv4 destination address
match ipv4 protocol
match transport source-port
match transport destination-port
collect counter bytes long
collect counter packets long
collect timestamp absolute first
collect timestamp absolute last
!
!
flow exporter netflow_exporter_in
source GigabitEthernet1/1/1
transport udp 10103
template data timeout 60
!
!
flow exporter netflow_exporter_out
source GigabitEthernet1/1/1
transport udp 10104
template data timeout 60
!
!
flow monitor netflow_monitor_in
exporter netflow_exporter_in
cache timeout inactive 10
cache timeout active 5
record netflow_in
!
!
flow monitor netflow_monitor_out
exporter netflow_exporter_out
cache timeout inactive 10
cache timeout active 5
record netflow_out

 

interface GigabitEthernet1/1/1
no switchport
ip flow monitor netflow_monitor_in input
ip flow monitor netflow_monitor_out output
ip address x.x.x.x 255.255.255.252

 

sw2#show flow exporter statistics
Flow Exporter netflow_exporter_out:
Packet send statistics (last cleared 1d06h ago):
Successfully sent: 15031 (0 bytes)

Client send statistics:
Client: Flow Monitor netflow_monitor_out
Records added: 110302
- sent: 110302
Bytes added: 7142730
- sent: 7142730

Flow Exporter netflow_exporter_in: <<<<<<<< not working
Packet send statistics (last cleared 07:09:06 ago):
Successfully sent: 0 (0 bytes)

Client send statistics:
Client: Flow Monitor netflow_monitor_in
Records added: 0
Bytes added: 0


sw2#show flow monitor netflow_monitor_in cache format table
Cache type: Normal (Platform cache)
Cache size: 10000
Current entries: 0 <<<<<<<< not working

Flows added: 0
Flows aged: 0

There are no cache entries to display.
Error when attempting to display distributed flows

 

 

 

0 REPLIES 0
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: