[c-nsp] ASR9k IPv6 interface stats in 64bit

Tassos Chatzithomaoglou achatz at forthnetgroup.gr
Mon Jul 22 15:44:56 EDT 2013


We have been using the following on ASR9k:

object name 	oid
ipIfStatsHCInOctets for IPv4 	1.3.6.1.2.1.4.31.3.1.6.1
ipIfStatsHCInOctets for IPv6 	1.3.6.1.2.1.4.31.3.1.6.2
ipIfStatsHCOutOctets for IPv4 	1.3.6.1.2.1.4.31.3.1.33.1
ipIfStatsHCOutOctets for IPv6 	1.3.6.1.2.1.4.31.3.1.33.2


According to http://www.cisco.com/en/US/docs/ios-xml/ios/ipv6_nman/configuration/xe-3s/ip6-mibs.html#GUID-F646C4CE-BCE5-4144-A8AA-ABF743FAAD55

/Cisco has long supported IP-MIB and IP-FORWARD-MIB in IPv4. CISCO-IETF-IP-MIB and CISCO-IETF-IP-FORWARDING-MIB are IPv6 MIBs that are defined as being protocol-independent, but are implemented only for IPv6 objects and tables. IP-MIB and IP-FORWARD-MIB adhere to RFC 4293 and RFC 4292 standards, as follows: /

////

  * ///The upgrade is backward-compatible; all IP-MIB and IP-FORWARD-MIB objects and tables still appear. /
  * ///IP-MIB and IP-FORWARD-MIB include definitions of new IPv6-only, IPv4-only, and protocol-version independent (PVI) objects and tables. /

//

/CISCO-IETF-IP-MIB and CISCO-IETF-IP-FORWARDING-MIB were removed from the Cisco releases in which CISCO-IETF-IP-MIB and CISCO-IETF-IP-FORWARDING-MIB were applied. Information in CISCO-IETF-IP-MIB and CISCO-IETF-IP-FORWARDING-MIB is included IP-MIB and IP-FORWARD-MIB. /



--
Tassos

Robert Williams wrote on 22/7/2013 18:45:
> Hi All,
>
> I’ve been going round in circles with this so maybe someone help me out?
>
> I need to poll (snmp) the 64bit interface accounting counters for IPv6.
>
> The command-line for the statistics is "show int te0/X/X/X accounting" - which gives:
>
>   Protocol              Pkts In         Chars In     Pkts Out        Chars Out
>   IPV4_UNICAST        264138250     216935942716    473002486     282556028883
>   IPV4_MULTICAST              7              470            0                0
>   IPV6_UNICAST          2105785        453795463       407433         50191428
>   IPV6_MULTICAST       29623383       2132883624            0                0
>   ARP                   8025368        511574806        99487          4576402
>   IPV6_ND              29885605       2688912178       292570         21065016
>
> So far, I have found that 'some' of these seem to live under 1.3.6.1.2.1.4.31.3.1.X
>
> However all counters under there are of the 32bit type, which is no good for the octets as these loop too quickly.
>
> So I need to find the 64bit version of the counters at 1.3.6.1.2.1.4.31.3.1.X
>
> This is under XR 4.3.1 - any pointers please?
>
> Thanks in advance!
>
>
> Robert Williams
> Custodian Data Centre
> Email: Robert at CustodianDC.com
> http://www.CustodianDC.com
>
>
> _______________________________________________
> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/cisco-nsp
> archive at http://puck.nether.net/pipermail/cisco-nsp/
>
>



More information about the cisco-nsp mailing list