ZXR10 5900E Series Configuration Guide (IPv6)
12.4 MLD Configuration Examples
12.4.1 MLDv2 Configuration Example
Configuration Description
As shown in
, PIM-SM is enabled on S1 and S2. The MLD version is v2. MLDv1
elects a querier through common query messages. The MLDv2 router with the smallest
IP address is elected as the querier.
Figure 12-1 MLDv1 Configuration Example
Configuration Thought
1.
Configure addresses on the interfaces of the routers in interface configuration mode.
The address of S1 should be smaller than that of S2.
2.
Enable multicast function by configuring
ipv6 multicast-routing
.
3.
Enter PIM route mode and then enter the interfaces.
4.
Enable PIM-SM in interface configuration mode.
Configuration Commands
S1 configuration:
S1(config)#interface vlan1
S1(config-if-vlan1)#ipv6 enable
S1(config-if-vlan1)#ipv6 address 100::1/64
S1(config-if-vlan1)#exit
S1(config)#ipv6 multicast-routing
S1(config-mcast-ipv6)#router pim
S1(config-mcast-ipv6-pim)#interface vlan1
S1(config-mcast-ipv6-pim-if-vlan1)#pimsm
S1(config-mcast-ipv6-pim-if-vlan1)#end
S2 configuration:
S2(config)#interface vlan2
S2(config-if-vlan2)#ipv6 enable
S2(config-if-vlan2)#ipv6 address 100::2/64
S2(config-if-vlan2)#exit
S2(config)#ipv6 multicast-routing
S2(config-mcast-ipv6)#router pim
S2(config-mcast-ipv6-pim)#interface vlan2
12-8
SJ-20150114102049-011|2015-01-15 (R1.0)
ZTE Proprietary and Confidential