219
•
Configure SA message filtering rules so that receivers Host A and Host B can receive only the
multicast data addressed to multicast groups 225.1.1.0/30 and 226.1.1.0/30, and Host can
receive only the multicast data addressed to multicast groups 226.1.1.0/30 and 227.1.1.0/30.
Figure 65 Network diagram
Device
Interface
IP address
Device
Interface
IP address
Source 1 —
10.110.3.100/24
Switch
C
VLAN-interface 300
10.110.4.1/24
Source 2 —
10.110.6.100/24
VLAN-interface 104
10.110.5.1/24
Switch A
VLAN-interface 100 10.110.1.1/24 VLAN-interface
101
192.168.1.2/24
VLAN-interface
102
10.110.2.1/24
VLAN-interface
103
192.168.2.2/24
VLAN-interface
101
192.168.1.1/24
Loop0
2.2.2.2/32
Loop0
1.1.1.1/32 Switch
D
VLAN-interface 400
10.110.6.1/24
Switch B
VLAN-interface 200 10.110.3.1/24 VLAN-interface
500
10.110.7.1/24
VLAN-interface
102
10.110.2.2/24
VLAN-interface
104
10.110.5.2/24
VLAN-interface
103
192.168.2.1/24
Loop0
3.3.3.3/32
Configuration procedure
1.
Assign an IP address and subnet mask to each interface according to
. (Details not
shown.)
2.
Configure OSPF on the switches to meet the following requirements: (Details not shown.)
{
The switches are interoperable at the network-layer.
{
The switches can dynamically update their routing information.
3.
Enable IP multicast routing, PIM-SM and IGMP, and configure a PIM domain border:
# On Switch A, enable IP multicast routing, enable PIM-SM on each interface, and enable IGMP
on the host-side interface, VLAN-interface 100.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] pim sm
MSDP peers
PIM-SM 1
PIM-SM 2
PIM-SM 3
Loop0
Loop0
Source 1
Source 2
Receiver
Host B
Receiver
Host C
Receiver
Host A
Vlan-int100
Vlan-int200
Switch A
Switch C
Switch D
Switch B
Vla
n-in
t10
3
Vla
n-in
t10
3
Vlan
-int1
01
Vlan
-int1
01
Vlan-int300
Vlan-int104
Vlan-int104
Vlan-int500
Vlan-int400