Enabling IP multicast route statistics
Enable the collection and display of IP 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.
Note
When you enable IP multicast route statistics on the Controller node of a DvR domain, the configuration is automatically pushed to the Leaf nodes within the domain.
Procedure
Example
Enable the collection of IP multicast route statistics:
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#ip mroute stats enable
View the IP multicast route statistics:
Switch:1#show ip mroute stats ========================================================================== Multicast Stats ========================================================================== -------------------------------------------------------------------------- Statistics : Enabled
View the statistics for the multicast group IP address 225.0.0.1:
Switch:1#show ip mroute stats 225.0.0.1 ============================================================================== Multicast Stats - GlobalRouter ============================================================================== GroupAddress SourceCounter IngressPackets IngressBytes AverageSize ------------------------------------------------------------------------------ 225.0.0.1 1 30452198 3897881344 128
View the statistics for multiple (up to a maximum of 10) group IP addresses.
Switch:1#show ip mroute stats 225.0.0.1,225.0.0.2,225.0.0.3,225.0.0.4,225.0.0.5,225.0.0.6,225.0.0.7,225.0.0.8,225.0.0.9,225.0.0.10 ================================================================================ Multicast Stats - GlobalRouter ================================================================================ GroupAddress SourceCounter IngressPackets IngressBytes AverageSize -------------------------------------------------------------------------------- 225.0.0.1 1 32446194 4153112832 128 225.0.0.2 1 32446196 4153112960 127 225.0.0.3 1 32446197 4153113088 127 225.0.0.4 1 32446198 4153113216 127 225.0.0.5 1 32446199 4153113472 128 225.0.0.6 1 32446200 4153113600 128 225.0.0.7 1 32446201 4153113728 128 225.0.0.8 1 32446203 4153113856 127 225.0.0.9 1 32446203 4153113856 127 225.0.0.10 1 32446203 4153113984 128
Variable definitions
Use the data in the following table to use the show ip mroute stats command.
Variable |
Definition |
---|---|
WORD<3-160> {A.B.C.D[,E.F.G.H][,...]} |
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. |