IPv6 statistics (real-time)

Technische Universität Darmstadt

IPv6 is enabled at the Campus core since 2004. During the last decade most equipement has become IPv6 capable. But still there are a lot of loose ends to be fixed.

On this page we aimed to show how much traffic is still IPv4 related to IPv6. But unfortunately this issue turned out to be quite challenging. There is now simple way to gather IPv4/IPv6 statistics from the devices.

The university is connected to the ISP by a HA-Firewall (ASA). The switches connected to the Firewall is a pair of switches. One is a Nexus7k (NX-OS) and the other one is a Cat6k (IOS) running HSRP.

IPv4/IPv6 statistic device support

Device SNMP CLI Other
Cisco Catalyst 6500/6800 (IOS) IP-MIB::ipIfStatsHCInOctets.ipv4 is missing, counts CPU bound pakets only "show interface accounting" none
Cisco ASR9001 (IOS-XR) IP-MIB::ipIfStatsHCInOctets.ipv4 is missing, counts CPU bound pakets only "show interface accounting" none
Cisco ASR1001 (IOS-XE) IP-MIB::ipIfStatsHCInOctets.ipv4 and .ipv4 is working "show interface accounting" none
Cisco Nexus 7000 IP-MIB::ipIfStatsHCInOctets.ipv4 / .ipv6 does exist, but counts CPU bound packets only none none
Cisco ASA 55xx none none Enhancement request submitted
Cisco Wireless Controller (5508,5520) none none Enhancement request submitted

IPv4/IPv6 Traffic (CLI)

Data is collected by CLI ("show ip interface" and "show ipv6 interface" resp. Unfortunately both NX-OS only counts CPU switched pakets. On IOS we use "show interface accounting" counting all packets. Unfortunately this makes the data uncomparable. The CPU switches packets don't show up in the graph as they are outnumbered by the real numbers from "sh int acco".

Alternatively the central ASA could supply the statistics, but there seem to be no IPv4/IPv6 statistics on the ASA at all.


R1:cores101(NX/OS), R2:cores102(NX/OS)

R1:cores101(NX/OS), R2:cores102(NX/OS)

IPv4/IPv6 Traffic (SNMP)

Data is collected by SNMP using OID IP-MIB::ipIfStatsHCInOctets.ipv4 (.1.3.6.1.2.1.4.31.3.1.6.1) and IP-MIB::ipIfStatsHCInOctets.ipv6 (.1.3.6.1.2.1.4.31.3.1.6.2). Unfortunately both NX-OS and IOS only count CPU switched pakets. Additionally IOS does not count IPv4 packets at all. ASAs don't have any support either.

cores101(NX/OS) IPv4 (green)/IPv6 (blue)

core2(IOS) IPv4 (green)/IPv6 (blue)


air1252d(IOS-XE) IPv4 (green)/IPv6 (blue) Input (Management VLAN4)

Any hints and suggestions are welcome. Please drop me a note (andreas.liebe [at] hrz.tu-darmstadt.de).

13.07.2016

Back to Statistic index