Find all IPv6 address in logs

Author
gradius85
Bronze Member
  • Total Posts : 22
  • Scores: 0
  • Reward points: 0
  • Joined: 2019/02/20 06:55:23
  • Status: offline
2019/11/05 09:13:28 (permalink)
0

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?
#1

4 Replies Related Threads

    Toshi Esumi
    Expert Member
    • Total Posts : 1747
    • Scores: 143
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: online
    Re: Find all IPv6 address in logs 2019/11/05 09:55:59 (permalink)
    0
    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.
    #2
    Toshi Esumi
    Expert Member
    • Total Posts : 1747
    • Scores: 143
    • Reward points: 0
    • Joined: 2014/11/06 09:56:42
    • Status: online
    Re: Find all IPv6 address in logs 2019/11/05 09:56:08 (permalink)
    0
    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.
    #3
    gradius85
    Bronze Member
    • Total Posts : 22
    • Scores: 0
    • Reward points: 0
    • Joined: 2019/02/20 06:55:23
    • Status: offline
    Re: Find all IPv6 address in logs 2019/11/05 13:32:18 (permalink)
    0
    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.
     
    #4
    hzhao_FTNT
    Expert Member
    • Total Posts : 347
    • Scores: 60
    • Reward points: 0
    • Joined: 2014/09/12 10:03:54
    • Status: offline
    Re: Find all IPv6 address in logs 2019/11/08 08:06:00 (permalink)
    0
    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
    #5
    Jump to:
    © 2019 APG vNext Commercial Version 5.5