Configure MLD Basic Functions
Configuration Condition
Before configuring the MLD basic functions, first complete the following task:
- Enable the interface IPv6
- Enable the interface MLD
Enable the MLD Protocol
Table 9-1 Enable the MLD protocol
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enable the IPv6 multicast forwarding
|
ipv6 multicast-routing [ vrf vrf-name ]
|
Mandatory
By default, the IPv6 multicast forwarding is disabled.
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Enable the MLD protocol
|
ipv6 mld enable
|
Mandatory
By default, do not enable MLD.
After enabling MLD, all MLD configurations can take effect.
|
Configure the MLD Version
Table 9-2 Configure the MLD version
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Configure the MLD version
|
ipv6 mld version version-number
|
Mandatory
By default, the MLD version is 2.
|
-
Because the packet structure and kind of different versions of MLD protocols are different, it is suggested to configure the same version of IGMP for all devices on the same subnet.
Configure Static Group Adding
After configuring one static group or source group in the interface, the device regards that the interface has the receiver of the multicast group or source group.
Table 9-3 Configure static group adding
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Configure the static group adding
|
ipv6 mld static-group group-ipv6-address [ source-ipv6-address ]
|
Mandatory
By default, the interface is not added to any multicast group or source group in the static mode.
|
Configure Multicast Group Filter
The interface configured with the MLD multicast group filter filters the group member relation report in the segment according to the ACL rules and only the group member relation report permitted by ACL is processed and the un-permitted is directly dropped. For the existing but not permitted by ACL multicast group, immediately delete the multicast group information.
Table 9-4 Configure multicast group filter
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter the interface configuration mode
|
interface interface-name
|
-
|
Configure the IGMP multicast group filter
|
ipv6 mld access-group { access-list-number | access-list-name }
|
Mandatory
By default, the multicast group filter is not configured.
|
-
The ipv6 mld access-group command only supports the standard ACL.