(Optional) Configuring Static MLD Multicast Groups on Interfaces
Context
In some scenarios such as when:
Stable multicast members exist on the network, so that fast and stable multicast data forwarding is required.
Hosts require multicast data but cannot send Multicast Listener Report messages.
You can configure a static multicast group on the user-side interface of a router. After a static multicast group is configured on the interface, the router considers that multicast group members exist on the network segment to which the interface belongs. Therefore, the router always forwards multicast data sent to the multicast group.
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run mld static-group ipv6-group-address [ inc-step-mask ipv6-group-mask-length number group-number ] [ source ipv6-source-address ]
One or more static multicast groups are configured on the interface.
By default, no static multicast group is configured on an interface.
If a static Multicast Listener Discovery (MLD) group is configured on a loopback interface, the router forwards multicast data to this group only when users request the data, which reduces traffic on the network. If a static MLD group is configured on other MLD-capable interfaces, the router forwards multicast data to the group immediately after receiving the data. For example, you can configure static multicast groups on a loopback interface if users may request data of these groups but have not requested the data at present. If some multicast groups have stable receivers on a network segment, you can configure the static multicast groups on the interface connected to this network segment.