< Home

(Optional) Configuring a Static Member Port

Context

A member port is on a Layer 2 device and connects to receiver hosts which are multicast group members. The member port can be configured manually or learned dynamically by multicast protocols. When IGMP snooping is enabled in a VLAN, all interfaces in this VLAN learn forwarding entries from multicast packets. When an interface receives IGMP Report messages, the Layer 2 device sets this interface as a dynamic member port. A dynamic member port has an aging time.

If the hosts connected to an interface need to receive multicast data for a specific group or source-group for a long time, add the interface statically to the multicast group or source-group. The manually added interface is a static member port. Static member ports will not be aged out.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number

    The interface view is displayed.

  3. (Optional) Run undo igmp-snooping learning vlan { { vlan-id1 [ to vlan-id2 ] } &<1-10> | all }

    Dynamic member port learning is disabled.

    By default, dynamic member port learning is enabled. If this function is disabled, interfaces must be statically added to a multicast group when they need to forward multicast data for this group.

  4. Run l2-multicast static-group [ source-address source-ip-address ] group-address group-ip-address vlan { vlan-id1 [ to vlan-id2 ] } &<1-10>

    The interface is manually added to a multicast group and becomes a static member port.

    Or run l2-multicast static-group [ source-address source-ip-address ] group-address group-ip-address1 to group-ip-address2 vlan vlan-id

    The interface is added to multiple multicast groups.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >