155
<SwitchA> system-view
[SwitchA] multicast routing
[SwitchA-mrib] quit
# Enable IGMPv3 on VLAN-interface 100 (the interface that connects to the stub network).
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] igmp version 3
[SwitchA-Vlan-interface100] quit
# Enable PIM-SM on the other interfaces.
[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
Switch A is configured. (Details not shown.)
# Enable IP multicast routing and PIM-SM on Switch D and Switch E in the same way Switch A
is configured. (Details not shown.)
4.
Configure the SSM group range:
# Configure the SSM group range 232.1.1.0/24 on Switch A.
[SwitchA] acl basic 2000
[SwitchA-acl-ipv4-basic-2000] rule permit source 232.1.1.0 0.0.0.255
[SwitchA-acl-ipv4-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 Switch A is configured. (Details not shown.)
Verifying the configuration
# Display PIM information on Switch A.
[SwitchA] display pim interface
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
# Send an IGMPv3 report from Host A to join the multicast source and group (10.110.5.100/24,
232.1.1.1). (Details not shown.)
# Display the PIM routing table on Switch A.
[SwitchA] display pim routing-table
Total 0 (*, G) entry; 1 (S, G) entry
(10.110.5.100, 232.1.1.1)
Protocol: pim-ssm, Flag:
UpTime: 00:13:25
Upstream interface: Vlan-interface101
Upstream neighbor: 192.168.1.2