cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
502
Views
0
Helpful
1
Replies

Empty address fields for flexible netflow on ipv6

Ivo Sabev
Cisco Employee
Cisco Employee

Hello,

I have flexible netflow configured for ipv6 like this:

flow record ipv6-hor-ror-router-1
 match ipv6 traffic-class
 match ipv6 protocol
 match ipv6 source address
 match ipv6 destination address
 match transport source-port
 match transport destination-port
 collect counter bytes long
 collect counter packets long
 collect timestamp absolute first
 collect interface input
 collect interface output
 collect routing next-hop address ipv6
 collect ipv6 fragmentation flags

!

flow monitor ipv6-mon
 exporter mon01.getoto2.net
 record ipv6-hor-ror-router-1

!

interface Tunnel6
 no ip address
 ip mtu 1440
 ip flow monitor ipv6-mon input
 ip flow monitor ipv6-mon output
 zone-member security OUTSIDE
 load-interval 30
 ipv6 address <removed>
 ipv6 enable
 tunnel source  <removed>

 tunnel mode ipv6ip
 tunnel destination <removed>
 hold-queue 150 in

!

interface GigabitEthernet3.80
 encapsulation dot1Q 80
 ip address 192.168.62.1 255.255.255.0
 ip nat inside
 ip pim state-refresh origination-interval 10
 ip pim sparse-dense-mode
 ip flow monitor ipv4-mon input
 ip flow monitor ipv6-mon input
 ip flow monitor ipv4-mon output
 ip flow monitor ipv6-mon output
 zone-member security INSIDE
 ipv6 address <removed>
 ipv6 enable
 ipv6 nd advertisement-interval

But the table for it is not having any ipv6 address:

show flow monitor ipv6-mon cache sort interface input format table
Processed 446 flows
Aggregated to 20 flows
Showing the top 20 flows

IPV6 SRC ADDR                                  IPV6 DST ADDR                                  TRNS SRC PORT  TRNS DST PORT  IP PROT  IP TOS  ipv6 next hop addr                             intf input            intf output                     bytes long             pkts long  time abs first  ip frag flags
=============================================  =============================================  =============  =============  =======  ======  =============================================  ====================  ====================  ====================  ====================  ==============  =============
::                                             ::                                                        53          51815       17  0x00    ::                                             Gi1                   Gi3.80                                  76                     1    23:20:12.612  0x00
::                                             ::                                                         0              0        1  0x00    ::                                             Gi1                   Gi3.100                               9744                   116    23:20:04.316  0x00
::                                             ::                                                        53          41639       17  0x00    ::                                             Gi1                   Gi3.80                                  76                     1    23:20:12.585  0x00
::                                             ::                                                     57386            161       17  0x00    ::                                             Gi3.100               Tu1                                    150                     2    23:20:21.017  0x40
::                                             ::                                                     48692            161       17  0x00    ::                                             Gi3.100               Tu1                                    156                     2    23:20:10.678  0x40
::                                             ::                                                        49          41475        6  0x00    ::                                             Gi3.100

Any suggestions for this emptiness?

1 Reply 1

Ivo Sabev
Cisco Employee
Cisco Employee

Apparently found the problem, for example:

interface Tunnel6
no  ip flow monitor ipv6-mon input
no  ip flow monitor ipv6-mon output
ipv6 flow monitor ipv6-mon input
ipv6 flow monitor ipv6-mon output

So, for ipv6 flow to work, command is ipv6 flow..., not as per config guide ip flow