< Home

Clearing IGMP Snooping Entries

Context

Static and dynamic IGMP snooping entries are cleared in different ways.

Static entries cannot be restored after being cleared. They will be created when you configure static member ports.

When dynamic entries in a forwarding table are cleared, hosts in the VSI cannot receive multicast packets in a period. These hosts can receive multicast packets again only after they send IGMP Report messages and the switch creates forwarding entries.

Procedure

  • Run any of the following commands to delete static entries from the multicast forwarding table:

    • If static multicast groups are configured on a PW-side interface, run the undo l2-multicast static-group [ source-address source-address ] group-address { group-address | all } remote-peer ip-address [ negotiation-vc-id vc-id ] command in the VSI view to delete the static group memberships.

    • If the AC-side interface bound to a VSI is a VLANIF interface and the Layer 2 interface in the corresponding VLAN is statically bound to a multicast group, run the corresponding command in the Layer 2 interface view to delete the static group membership. For details, see Clearing IGMP Snooping Entries in "Maintaining VLAN-based IGMP Snooping."

    • If the PW-side interface bound to a VSI is a physical interface that has been switched to Layer 3 mode using the undo portswitch command, run the undo l2-multicast static-group [ source-address source-address ] group-address { group-address1 [ to group-address2 ] | all } vsi vsi-name command in the interface view to delete the static group memberships.

  • Run the reset igmp-snooping group { vsi { name vsi-name [ [ source-address source-address ] group-address group-address ] | all } | all } command in the user view to clear the dynamic forwarding entries in the multicast forwarding table.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >