MLD Configuration on Huawei Routers

huawei-mld-configuration

MLD Configuration on Huawei Routers

In this lesson we will give an example topology consist of Huawei switches and multicast hosts and then we will configure MLD on these devices.

For our example, we will use the below topology:

huawei-mld-configuration

Let’s configure MLD on the Switch 1.

Enabling IPv6 Multicast

Firstly, we will enalble IPv6 Multicast globally on the switch.

 system-view
[Switch1] multicast ipv6 routing-enable

Enabling PIM-SM

We will use PIM-SM with MLD. So, we will enable IPv6 PIM-SM.

[Switch1] pim ipv6 sm

Enabling MLD

We will enable MLD under the interface that we will use MLD with “mld enable” command.Before this, we will enalbe Layer 3 on switch with “undo portswitch”. We will do this configuration on each interface that we will use MLD.

[Switch1] interface 10GE 1/1/1
[Switch1-10GE1/1/1] undo portswitch
[Switch1-10GE1/1/1] mld enable
[Switch1-10GE1/1/1] quit
[Switch1] interface 10GE 1/1/2
[Switch1-10GE1/1/2] undo portswitch
[Switch1-10GE1/1/2] mld enable
[Switch1-10GE1/1/2] quit
[Switch1] interface 10GE 1/1/3
[Switch1-10GE1/1/3] undo portswitch
[Switch1-10GE1/1/3] mld enable

MLD Version Configuration

As we discussed before, MLD has twı versions; MLDv1 and MLDv2. We will set the version MLDv2 here. We will do this configuration on each interface that run MLD.

[Switch1-10GE1/1/1] mld version 2
[Switch1-10GE1/1/1] quit
[Switch1-10GE1/1/2] mld version 2
[Switch1-10GE1/1/2] quit
[Switch1-10GE1/1/3] mld version 2
[Switch1-10GE1/1/3] quit

Static Group Configuration

With Static Group configuration, we can set a statically assigned group with also its specific source.

[Switch1] mld static-group FF3C::111 source 2222:22:2::2/64

SSM Mapping

As we discussed before SSM mapping is required to use SSM with MLDv1. Without this mapping MLDv1 can not use Source Specific Multicast property. Firstly, we will enable SSM mapping, then we will set one map entry.

[Switch1] interface 10GE 1/1/1
[Switch1-10GE1/1/1] mld ssm-mapping enable
[Switch1-10GE1/1/1] ssm-mapping FF3D::111 64 2000:1:1::1

MLD Timers

There are various timers used in MLD. The common ones can be configured like below. These can be configured globally and under the interface.

[Switch1-10GE1/1/1] timer query 123
[Switch1-10GE1/1/1] robust-count 5
[Switch1-10GE1/1/1] max-response-time 100
[Switch1-10GE1/1/1] timer other-querier-present
[Switch1-10GE1/1/1] lastlistener-queryinterval 50

Saving The Configuration

To save our configuration, we will use “commit” command.

[Switch1] commit 
[Switch1] quit

MLD Verification

To verify our MLD configuration, we will use the below commands:

[Switch1] display mld interface
[Switch1] display mld group
[Switch1] display mld ssm-mapping
[Switch1] display mld control-message counters 
[Switch1] display mld interface 10GE1/1/1 
Interface information
 Vlanif20(FE80::1234:1111:2222:ABCD):
   MLD is enabled
   Current MLD version is 2
   MLD state: up
   MLD group policy: none
   Query interval for MLD (negotiated): 125 s
   Query interval for MLD (configured): 125 s

..
Querier for MLD: FE80::1234:1111:2222:ABCD  (this router)
...
Total 1 MLD Group reported

Clearing MLD Information

To reset MLD multicast group entries we can use the below commands:

• reset mld group all
• reset mld group interface

To reset SSM mapping entries, we can use the below commads:

• reset mld group ssm-mapping all
• reset mld group ssm-mapping interface interface

Other MLD Articles
Multicast Listener Discovery (MLD) – Overview
Multicast Listener Discovery (MLD) – MLD Operations
Multicast Listener Discovery (MLD) – MLD Configuration on Cisco
Multicast Listener Discovery (MLD) – MLD Configuration on Huawei

Leave a Reply