The l2-multicast egress statistics command enables a device to collect statistics about downstream Layer 2 IPv4 multicast packets based on a multicast group.
The undo l2-multicast egress statistics command disables a device from collecting statistics about downstream Layer 2 IPv4 multicast packets based on a multicast group.
By default, a device is disabled from collecting statistics about downstream Layer 2 IPv4 multicast packets based on a multicast group.
Parameter | Description | Value |
---|---|---|
vlan vlan-id |
Specifies the VLAN ID. |
The value is an integer that ranges from 1~4094. |
vsi vsi-name |
Specifies a VSI name. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. |
bd bd-id |
Specifies a bridge-domain instance ID. |
The value is an integer ranging from 1 to 16777215. |
source-address |
Specifies a multicast source address. |
The value is in dotted decimal notation. |
group-address |
Specifies a multicast group address. |
The value ranges from 224.0.1.0 to 239.255.255.255, in dotted decimal notation. |
slot slot-id |
Specifies a slot ID. The value range varies with the hardware of the device. |
The value is a string of 1 to 15 characters, spaces not supported. |
Usage Scenario
To enable a device to collect statistics about downstream Layer 2 IPv4 multicast packets based on a multicast group or router ports, run the l2-multicast egress statistics command. After the function is enabled, you can run the display l2-multicast egress statistics command to check statistics about downstream Layer 2 IPv4 multicast packets. The l2-multicast egress statistics enable slot command takes precedence over the l2-multicast egress statistics command. That is, if the l2-multicast egress statistics enable slot command has been run on a device, the device is enabled to collect statistics about downstream Layer 2 IPv4 multicast packets regardless of whether the l2-multicast egress statistics command is run. The l2-multicast egress statistics command takes effect only if the l2-multicast egress statistics enable slot command is not run.
Prerequisites
The igmp-snooping enable command has been configured.
Follow-up Procedure
Run the display l2-multicast egress statistics command to check statistics about downstream Layer 2 IPv4 multicast packets.