Parameter |
Description |
Value |
---|---|---|
vlan vlan-id |
Displays MLD snooping statistics in a specified VLAN. If this parameter is not specified, the system displays MLD snooping statistics in all VLANs. |
The value is an integer that ranges from 1 to 4094. |
Usage Scenario
After completing MLD snooping configuration, you can use the display mld-snooping statistics command to view MLD snooping statistics, including the number of MLD messages sent, number of MLD messages received, number of PIM Hello messages received in each VLAN, and number of Layer 2 events that have occurred in all VLANs. Layer 2 events include changes in interface status, changes in VLAN status, changes in VLAN member interfaces (interfaces join or leave VLANs), and MSTP events. When a multicast fault occurs, the MLD snooping statistics help you identify the cause of the fault.
Precautions
This command displays information only when global MLD snooping is enabled using the mld-snooping enable command.
# Display MLD snooping statistics in all VLANs.
<HUAWEI> display mld-snooping statistics MLD Snooping Events Counter Recv VLAN Up Event Times 1027 Recv VLAN Down Event Times 5 Recv VLAN Del Event Times 0 Recv Port Up Event Times 12 Recv Port Down Event Times 12 Recv Port Del Event Times 0 Recv Port Inc Event Times 3069 Recv Port Exc Event Times 1023 Recv MSTP Block Event Times 7 Recv MSTP Forward Event Times 7 Recv LINK Change Event Times 0 MLD Snooping Packets Counter Statistics for VLAN 10 Recv V1 Report 16 Recv V2 Report 8768 Recv V1 Query 0 Recv V2 Query 2243 Recv Done 215 Recv Pim Hello 0 Send Query(S=0) 0 Send Query(S!=0)0 Send General Query 0 Send Group-Specific Query 0 Send Group-Source-Specific Query 0
# Display MLD snooping in VLAN 20.
<HUAWEI> display mld-snooping statistics vlan 20 MLD Snooping Packets Counter Statistics for VLAN 20 Recv V1 Report 0 Recv V2 Report 0 Recv V1 Query 0 Recv V2 Query 0 Recv Done 0 Recv Pim Hello 0 Send Query(S=0) 0 Send Query(S!=0)0 Send General Query 0 Send Group-Specific Query 0 Send Group-Source-Specific Query 0
Item |
Description |
---|---|
MLD Snooping Events Counter |
Statistics about MLD snooping events. |
Recv VLAN Up Event Times |
Number of VLAN Up events. |
Recv VLAN Down Event Times |
Number of VLAN Down events. |
Recv VLAN Del Event Times |
Number of VLAN deletion events. |
Recv Port Up Event Times |
Number of interface Up events. |
Recv Port Down Event Times |
Number of interface Down events. |
Recv Port Del Event Times |
Number of interface deletion events. |
Recv Port Inc Event Times |
Number of times interfaces join VLANs. |
Recv Port Exc Event Times |
Number of times interfaces leave VLANs. |
Recv MSTP Block Event Times |
Number of times static groups fail to be created on interfaces that are blocked by MSTP and cannot forward multicast packets. |
Recv MSTP Forward Event Times |
Number of times static groups are successfully created on interfaces that are in MSTP forwarding state and can forward multicast packets normally. |
Recv LINK Change Event Times |
Number of link change events. |
MLD Snooping Packets Counter |
Statistics about MLD snooping packets. |
Statistics for VLAN 10 |
Packet statistics in VLAN 10. |
Recv V1 Report |
Number of MLDv1 Report messages received. |
Recv V2 Report |
Number of MLDv2 Report messages received. |
Recv V1 Query |
Number of MLDv1 Query messages received. |
Recv V2 Query |
Number of MLDv2 Query messages received. |
Recv Done |
Number of MLD Leave messages received. |
Recv Pim Hello |
Number of PIM Hello messages received. |
Send Query(S=0) |
Number of MLD Query messages sent with the source address of ::. |
Send Query(S!=0) |
Number of MLD Query messages with sent source addresses other than ::. |
Send General Query |
Number of General Query messages sent. |
Send Group-Specific Query |
Number of Group-Specific Query messages sent. |
Send Group-Source-Specific Query |
Number of Group-Source-Specific Query messages sent. |