My Community
Cisco Networking => Cisco Network Management => Topic started by: mark on August 04, 2008, 10:13:39 PM
-
Ive written a small MRTG compatible script which some might find useful.
It allows you to graph IPv6-only traffic on a Cisco router interface with MRTG.
Simply graphing interface traffic in the standard sense with MRTG combines both IPv4 and IPv6 traffic onto the single graph, making it difficult to determine which protocol is using how much.
Enter my script.
It uses RSH to grab the output of a "show interface x switching" and obtains the IPv6 specific byte values. The output allows the script to be used directly with MRTG to graph IPv6 traffic for a specific interface.
Limitations I have come accross so far are that a Cisco wont provide statistics for ethernet sub-interfaces, so you can only graph the combined IPv6 traffic flowig through the parent interface. However, the Ciscos do appear to maintain separate statistics for SVIs, so if you use Vlan interfaces rather than sub-interfaces you should be in luck.
If anyone is interested in giving it a try, you can find the script here:
http://150.101.183.195/ipv6stats
Usage information and a small amount of documentation is located within the script itself.
Enjoy