This section provides information to configure MLD using the command line interface.
The routers use MLD to manage membership for a given multicast session. MLD is not enabled by default. When enabled, at least one interface must be specified in the MLD context as MLD is an interface function. Creating an interface enables MLD. Traffic can only flow away from the router to an MLD interface and to and from a PIM interface. A router directly connected to a source must have PIM enabled on the interface to that source. The traffic travels in a network from PIM interface to PIM interface and arrives finally on an MLD enabled interface.
The MLD CLI context allows you to specify an existing IP interface and modify the interface-specific parameters. Static MLD group memberships can be configured to test multicast forwarding without a receiver host. When MLD static group membership is enabled, data is forwarded to an interface without receiving membership reports from host members.
When static MLD group entries on point-to-point links that connect routers to a rendezvous point (RP) are configured, the static MLD group entries do not generate join messages toward the RP. When a host wants to receive multicast sessions it sends a join message for each multicast group it wants to join. Then, a leave message may be sent for each multicast group it no longer wishes to participate with.
A multicast router keeps a list of multicast group memberships for each attached network, and an interval timer for each membership. Hosts issue a Multicast Group Membership Report when they want to receive a multicast session. The reports are sent to all multicast routers.
Perform the following basic multicast configuration tasks:
Use the following CLI syntax to enable MLD.
The following example displays the detailed output when MLD is enabled:
To configure an MLD interface:
Use the following CLI syntax to configure MLD interfaces:
The following example displays the MLD configuration:
To add an MLD static multicast source:
Use the following CLI syntax to configure static group addresses and source addresses for the SSM translate group ranges:
The following example displays the configuration:
To add an MLD static starg entry:
Use the following CLI syntax to configure static group addresses and add a static (*,G) entry:
The following example displays the configuration:
To configure MLD parameters:
The following example displays the command usage to configure MLD parameters.
![]() | Note: The group range will not be created until the source is specified. |
The following example displays the SSM translation configuration:
Use the following CLI syntax to disable MLD.
The following example displays the command usage to disable MLD.