- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
