[SwitchB-Vlan-interface201] quit
# On Switch C, enable IPv6 multicast routing.
<SwitchC> system-view
[SwitchC] ipv6 multicast routing
[SwitchC-mrib6] quit
# Enable MLD on VLAN-interface 200.
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] mld enable
[SwitchC-Vlan-interface200] quit
# Enable IPv6 PIM-DM on VLAN-interface 202.
[SwitchC] interface vlan-interface 202
[SwitchC-Vlan-interface202] ipv6 pim dm
[SwitchC-Vlan-interface202] quit
Configure an IPv6 multicast group policy on Switch A so that the hosts connected to
4.
VLAN-interface 100 can join only IPv6 multicast group FF1E::101.
[SwitchA] acl ipv6 number 2001
[SwitchA-acl6-basic-2001] rule permit source ff1e::101 128
[SwitchA-acl6-basic-2001] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] mld group-policy 2001
[SwitchA-Vlan-interface100] quit
Verifying the configuration
# Display MLD information on VLAN-interface 200 of Switch B.
[SwitchB] display mld interface vlan-interface 200
Vlan-interface200(FE80::200:5EFF:FE66:5100):
MLD is enabled.
MLD version: 1
Query interval for MLD: 125s
Other querier present time for MLD: 255s
Maximum query response time for MLD: 10s
Querier for MLD: FE80::200:5EFF:FE66:5100 (This router)
MLD groups reported in total: 1
MLD SSM mapping configuration example
Network requirements
As shown in
•
OSPFv3 runs on the network.
•
The IPv6 PIM-SM domain uses both the ASM model and SSM model for IPv6 multicast delivery.
VLAN-interface 104 of Router D acts as a C-BSR and a C-RP. The SSM group range is
FF3E::/64.
•
MLDv2 runs on VLAN-interface 400 of Router D. The receiver host runs MLDv1, and does not
support MLDv2. The receiver host cannot specify expected multicast sources in its membership
reports.
•
Source 1, Source 2, and Source 3 send IPv6 multicast packets to multicast groups in the IPv6
SSM group range.
Figure
92:
296