187
Configuration procedure
1.
Assign an IP address and subnet mask to each interface according to
. (Details not
shown.)
2.
Configure OSPF on the switches in the PIM-SSM domain to make sure they are interoperable
at the network layer. (Details not shown.)
3.
Enable IP multicast routing, IGMP and PIM-SM:
# On Switch A, enable IP multicast routing, enable IGMPv3 on VLAN-interface 100, and enable
PIM-SM on each interface.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] igmp version 3
[SwitchA-Vlan-interface100] pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim sm
[SwitchA-Vlan-interface101] quit
[SwitchA] interface vlan-interface 102
[SwitchA-Vlan-interface102] pim sm
[SwitchA-Vlan-interface102] quit
# Enable IP multicast routing, IGMP and PIM-SM on Switch B and Switch C in the same way.
(Details not shown.)
# Enable IP multicast routing and PIM-SM on Switch D and Switch E in the same way. (Details
not shown.)
4.
Configure the SSM group range:
# Configure the SSM group range to be 232.1.1.0/24 one Switch A.
[SwitchA] acl number 2000
[SwitchA-acl-basic-2000] rule permit source 232.1.1.0 0.0.0.255
[SwitchA-acl-basic-2000] quit
[SwitchA] pim
[SwitchA-pim] ssm-policy 2000
[SwitchA-pim] quit
# Configure the SSM group range on Switch B, Switch C, Switch D and Switch E in the same
way. (Details not shown.)
Verifying the configuration
# Display PIM information on Switch A.
[SwitchA] display pim interface
VPN-Instance: public net
Interface NbrCnt HelloInt DR-Pri DR-Address
Vlan100 0 30 1 10.110.1.1 (local)
Vlan101 1 30 1 192.168.1.2
Vlan102 1 30 1 192.168.9.2
Assume that Host A needs to receive the information a specific multicast source S 10.110.5.100/24
sends to multicast group G 232.1.1.1. Switch A builds an SPT toward the multicast source. Switches
on the SPT path (Switch A and Switch D) have generated an (S, G) entry, but Switch E, which is not
on the SPT path, does not have multicast routing entries. You can use the
display pim
routing-table
command to view the PIM routing table information on each switch. For example: