Enabling IPv6 multicast route statistics

Enable the collection of IPv6 multicast route statistics.

These statistics are not related to the interface (port) statistics. Rather, the statistics are displayed based on multicast group classification. By default, collection of multicast route statistics is disabled.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enable the collection of IPv6 multicast route statistics.

    ipv6 mroute stats enable

  3. Optional: Set the IPv6 multicast route statistics to default:

    default ipv6 mroute stats

  4. Optional: Disable the collection of IPv6 multicast route statistics.

    no ipv6 mroute stats

  5. View the IPv6 multicast route statistics.

    show ipv6 mroute stats [WORD<7-400> {Ipv6address[,Ipv6address][,...]}]

    Note

    Note

    The maximum number of multicast group IP addresses is 10.

Example:

Enable collection of IPv6 multicast route statistics:

Switch:1>enable
Switch:1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch:1(config)#ipv6 mroute stats enable

View the IPv6 multicast route statistics:

Switch:1#show ipv6 mroute stats

==========================================================================
                     Multicast Stats

==========================================================================
--------------------------------------------------------------------------
                     Statistics : Enabled

View the statistics for the multicast group IP address FF05::1:

Switch#show ipv6 mroute stats FF05::1

=====================================================================================
                         Multicast Stats - GlobalRouter

=====================================================================================
GroupAddress                SourceCounter      IngressPackets       IngressBytes    AverageSize
-------------------------------------------------------------------------------------
ff05:0:0:0:0:0:0:1          1                  1962750              2355300000     1200

View the statistics for multiple group IP addresses (up to a maximum of 10).

Switch#show ipv6 mroute stats FF05::1,FF05::2,FF05::3,FF05::4,FF05::5,FF05::6,FF05::7,FF05::8,FF05::9,FF05::a

=====================================================================================
                         Multicast Stats - GlobalRouter

=====================================================================================
GroupAddress               SourceCounter      IngressPackets       IngressBytes  AverageSize
-------------------------------------------------------------------------------------
ff05:0:0:0:0:0:0:1         1                  2027508              2433009600    1200
ff05:0:0:0:0:0:0:2         1                  2027507              2433008400    1200
ff05:0:0:0:0:0:0:3         1                  2027507              2433008400    1200
ff05:0:0:0:0:0:0:4         1                  2027507              2433008400    1200
ff05:0:0:0:0:0:0:5         1                  2027507              2433008400    1200
ff05:0:0:0:0:0:0:6         1                  2027505              2433006000    1200
ff05:0:0:0:0:0:0:7         1                  2027505              2433006000    1200
ff05:0:0:0:0:0:0:8         1                  2027505              2433006000    1200
ff05:0:0:0:0:0:0:9         1                  2027505              2433006000    1200
ff05:0:0:0:0:0:0:a         1                  2027505              2433006000    1200

Variable definitions

Use the data in the following table to use the show ipv6 mroute stats command

Variable

Definition

WORD<7-400> {Ipv6address[,Ipv6address][,...]}

Specifies the multicast group IP address for which to display statistics.

The group IP address is in one of the following formats: a single IP address or a series of IP addresses.

You can specify a maximum of 10 groups.

Job aid

The following table shows the field descriptions for viewing multicast route statistics.

Field

Description

GroupAddress

Specifies the multicast group IP address for which to show statistics.

SourceCounter

Specifies the number of sources associated with the multicast route record.

IngressPackets

Specifies the number of packets received for the associated IP address.

IngressBytes

Specifies the number of bytes received for the associated IP address.

AverageSize

Specifies the average packet length for the associated group IP address. This information indicates only the ingress packet length and is calculated using the formula: ingress packet/ingress byte.