Publication Date: 2018-10-19 | Views: 742 | Downloads: 0 | Author: f84038637 | Document ID: EKB1001930736
Need that SNMP poll specific Huawei NE 40 X8 router port to obtain IPv4 & IPv6 octets separately and then use this to plot individual the traffic utilization graph for IPv4 & IPv6.
Configure “statistic enable” and “statistic mode forward” together to enable the traffic statistics for IPV4 and IPV6 separately.
After that, configure above 2 commands, you can check the IPV4 and IPV6 counter by the command “display interface xxxx”.
For the SNMP OID, can be used the OID ipIfStatsTable to query the IPV4 and IPV6 datagrams.
ipIfStatsTable has 2 nodes(ipIfStatsHCInForwDatagrams and ipIfStatsHCOutForwDatagrams) to query the IPv4 & IPv6 packets counter separately.
And it has 2 nodes(ipIfStatsHCInOctets and ipIfStatsHCOutOctets) to query the IPv4 & IPv6 octets separately.
For example, after configure above commands, for a specific port, may get:
ipIfStatsHCInOctets.1.122 = COUNTER64: 12081388
ipIfStatsHCInOctets.2.122 = COUNTER64: 18727396018
here .1 is for ipv4, and .2 is for ipv6 122 is the interface index.