Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
gradius85
New Contributor III

Find all IPv6 address in logs

I am not finding a way to find ALL IPv6 addresses. I do not really know what address I am looking for, I just want to see if a particular interface has had IPv6 traffic pass through it.

 

How do I create a filter to find ALL IPv6 address as source?

4 REPLIES 4
Toshi_Esumi
SuperUser
SuperUser

To just list up all IPv6 addresses configure on a box, I would do:

  # config sys int  (interface) # show | grep ip6-address

 

If you want to see what interface has what address, you can add '-f' option to grep.

gradius85

I need this in logs, not on the device. I am trying to figure out if traffic passed through the device anytime in the past 24 hours.

 

hzhao_FTNT

Hi there,

 

You can use filter family(srcip)=6 for ipv6 traffic.

For example:

select devid, sum(coalesce(sentbyte, 0)+coalesce(rcvdbyte, 0)) as bandwidth from $log where $filter and (logflag&1>0) and family(srcip)=6 group by devid order by bandwidth desc

 

Regards,

hz

Toshi_Esumi
SuperUser
SuperUser

To just list up all IPv6 addresses configure on a box, I would do:

  # config sys int  (interface) # show | grep ip6-address

 

If you want to see what interface has what address, you can add '-f' option to grep.

Announcements

Select Forum Responses to become Knowledge Articles!

Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.

Labels
Top Kudoed Authors