Configuring MLD in Gaia Clish

Important:

Workflow:

  1. If necessary to use the MLD version 2, then configure it on the required interface.

  2. Configure other applicable MLD settings.

Syntax for configuring MLD

set ipv6 mld interface <Name of Interface>

      default

      last-listener-query-count {<1-255> | default}

      last-listener-query-interval {<1-25> | default}

      local-group <IPv6 Multicast Address> {on | off}

      loss-robustness {<2-7> | default}

      query-interval {<1-3600> | default}

      query-response-interval {<1-25> | default}

      startup-query-count {<1-255> | default}

      startup-query-interval {<1-31744> | default}

      static-group <IPv6 Multicast Address>

            group-count <1-512> group-increment <IPv6 Unicast Address> {on | off}

            {on | off}

            source <IPv6 Address>

                  {on | off}

                  source-count <1-512> source-increment <IPv6 Unicast Address> {on | off}

            source-all-off

      version {1 | 2}

Parameters for configuring MLD

Parameter

Description

<Name of Interface>

Specifies the interface that listens for MLD protocol messages.

default

Resets the MLD settings to default values.

last-listener-query-count {<1-255> | default}

Configures the last listener query count.

This is the number of Multicast-Address-Specific Queries sent before the router assumes there are no remaining listeners for an address on a link.

Range: 1-255

Default: The value of the parameter "loss-robustness"

last-listener-query-interval {<1-25> | default}

Configures the last listener query interval.

This nterval controls:

  • The Maximum Response Delay inserted into Multicast-Address-Specific Queries sent in response to the "Done" messages.

  • The time between Multicast-Address-Specific Query messages.

You can change this value to fine-tune the "leave latency" of the link.

A reduced value results in reduced time to detect the departure of the last listener for an address.

Range: 1-25 seconds

Default: 1 second

local-group <IPv6 Multicast Address> {on | off}

Configures the interface to be a receiver of multicast data for the given address.

Local group configuration provides a mechanism to simulate the presence of local receivers on the interface.

When a local group is added, MLD sends a membership report for the group on the interface.

loss-robustness {<2-7> | default}

Configures the loss robustness - the expected number of packet losses on a link.

If the link is expected to be lossy, you can increase this value.

MLD is robust to this level of packet losses: "loss-robustness value" - 1.

Range: 2-7 packets

Default: 2 packets

query-interval {<1-3600> | default}

Configures the interface MLD query interval.

This is the interval between General Queries sent by the Querier.

Larger values cause MLD Queries to be sent less often.

Range: 1-360 seconds

Default: 125 seconds

query-response-interval {<1-25> | default}

Configures the maximum delay for hosts to respond to an MLD membership query.

Range: 1-25 seconds

Default: 10 seconds

startup-query-count {<1-255> | default}

Configures the number of MLD queries sent out on startup, sent with the intervals as configured in the parameter "startup-query-interval".

Range: 1-255

Default: The value of the parameter "loss-robustness"

startup-query-interval {<1-31744> | default}

Configures the interval between General Queries sent by a Querier upon startup.

Range: 1-31744 seconds

Default: The value of the parmeter "query-interval" divided by 4 (and rounded up)

static-group <IPv6 Multicast Address> {on | off}

Configures the local membership for a multicast group.

Static group configuration provides a mechanism to simulate the presence of local receivers on the interface.

When a static group is configured on an interface, the parent protocol (for example, PIM) is notified of the presence of a local receiver.

group-count <1-512> group-increment <IPv6 Unicast Address> {on | off}

  • group-count

    Enables static membership for a set of N adjacent groups at the same time.

    Range: 1-512

    Default: 1

  • group-increment

    Controls the increment between groups.

    Range: None

    Default: ::1

source <IPv6 Multicast Address> {on | off}

Configures the multicast sources from which to receive traffic for this group.

Notes:

  • This parameter is supported only for the MLD version 2.

    To configure this parameter, you must first enable the MLD version 2 on the specific interface.

  • Source-specific joins will only forward traffic that arrives from specific sources, and was sent to the specified multicast group.

source-count <1-512> source-increment <IPv6 Unicast Address> {on | off}

  • source-count

    Enables static membership for a set of N adjacent sources at the same time.

    Range: 1-512

    Default: 1

  • source-increment

    Controls the increment between sources.

    Range: None

    Default: ::1

source-all-off

Disables all source-specific configuration for the specified multicast group and returns to default behaviour of forwarding all traffic for this multicast group onto this interface.

version {1 | 2}

Configures the MLD protocol version.

Range: 1, or 2

Default: 1