All,

As has been discussed elsewhere, the 6500/7600 platforms lie about IPv6 packet/byte counters due to ASIC limitations (BTW I am told that this is fixed in sup2T/PFC4/Earl8)

I think this alternative approach works for a limited set of cases:

class-map match-all QOS-ALL-IPV6
  match protocol ipv6
class-map match-all QOS-ALL-IPV4
  match protocol ip

policy-map QOS-COUNT-IPV6
  class QOS-ALL-IPV4
   set dscp default
  class QOS-ALL-IPV6
   set dscp default

int VlanA
  service-policy input QOS-COUNT-IPV6
  service-policy output QOS-COUNT-IPV6
int GiX/Y
  switchport access vlan A
  mls qos vlan based

mls qos statistics-export interval 30
mls qos statistics-export class-map QOS-ALL-IPV6
mls qos statistics-export class-map QOS-ALL-IPV4
mls qos statistics-export destination <some syslog params>
mls qos statistics-export

You can then parse the logs to get per-module counters for a given class-map. This might be of use if you only have one or a few interfaces to count, and have no existing, conflicting QoS needs.

Hope it's of use to someone.

Cheers,
Phil
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to