R0106-HP MSR Router Series IP Multicast Configuration Guide(V7)
133
{ The routers can dynamically update their routing information.
3. Enable IP multicast routing, IGMP and PIM-SM:
# On Router A, enable IP multicast routing.
<RouterA> system-view
[RouterA] multicast routing
[RouterA-mrib] quit
# Enable IGMPv3 on GigabitEthernet 2/1/1 (the interface that connects to the stub network).
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] igmp enable
[RouterA-GigabitEthernet2/1/1] igmp version 3
[RouterA-GigabitEthernet2/1/1] quit
# Enable PIM-SM on the other interfaces.
[RouterA] interface gigabitethernet 2/1/2
[RouterA-GigabitEthernet2/1/2] pim sm
[RouterA-GigabitEthernet2/1/2] quit
[RouterA] interface gigabitethernet 2/1/3
[RouterA-GigabitEthernet2/1/3] pim sm
[RouterA-GigabitEthernet2/1/3] quit
# Enable IP multicast routing, IGMP, and PIM-SM on Router B and Router C in the same way Router
A is configured. (Details not shown.)
# Enable IP multicast routing and PIM-SM on Router D and Router E in the same way Router A is
configured. (Details not shown.)
4. Configure the SSM group range:
# Configure the SSM group range 232.1.1.0/24 on Router A.
[RouterA] acl number 2000
[RouterA-acl-basic-2000] rule permit source 232.1.1.0 0.0.0.255
[RouterA-acl-basic-2000] quit
[RouterA] pim
[RouterA-pim] ssm-policy 2000
[RouterA-pim] quit
# Configure the SSM group range on Router B, Router C, Router D, and Router E in the same way
Router A is configured (Details not shown.)
Verifying the configuration
# Display PIM configuration information on Router A.
[RouterA] display pim interface
Interface NbrCnt HelloInt DR-Pri DR-Address
GE2/1/1 0 30 1 10.110.1.1 (local)
GE2/1/2 1 30 1 192.168.1.2
GE2/1/3 1 30 1 192.168.9.2
# Send an IGMPv3 report from Host A to join the multicast source and group (10 .110 . 5 .10 0 / 2 4 , 232.1.1.1).
(Details not shown.)
# Display PIM routing table information on Router A.
[RouterA] display pim routing-table
Total 0 (*, G) entry; 1 (S, G) entry