44
•
In VLAN 100, Source in Site 1, Host A in Site 2, and Host B in Site 3 communicate with CE 1, CE
2, and CE 3, respectively.
Configure the devices so that Host A and Host B can receive multicast data from Source.
Figure 18 Network diagram
Table 6 Interface and IP address assignment
Device
Interface
IP address
Device
Interface
IP address
PE 1
Vlan-int101
10.110.1.1/24
PE 2
Loop0
2.2.2.2/32
PE 1
Vlan-int102
10.110.2.1/24
PE 3
Loop0
10.110.2.2/24
PE 1
Loop0
1.1.1.1/32
PE 3
Loop0
10.110.3.2/24
PE 2
Vlan-int101
10.110.1.2/24
PE 3
Loop0
3.3.3.3/32
PE 2
Vlan-int103
10.110.3.1/24
Configuration procedure
1.
Assign an IP address and subnet mask to each interface on the VPLS network, as shown
in
. (Details not shown.)
2.
Configure OSPF on the switches on the VPLS network. (Details not shown.)
3.
Configure CE 1:
# Enable IGMP snooping globally.
<CE1> system-view
[CE1] igmp-snooping
[CE1-igmp-snooping] quit
# Create VLAN 100, and assign HundredGigE 1/0/2 to VLAN 100.
[CE1] vlan 100
[CE1-vlan100] port hundredgige 1/0/2
# In VLAN 100, enable IGMP snooping, and enable dropping unknown multicast data.
[CE1-vlan100] igmp-snooping enable
[CE1-vlan100] igmp-snooping drop-unknown
# Configure HundredGigE 1/0/1 as a trunk port, and assign it to VLAN 100.
[CE1] interface hundredgige 1/0/1
[CE1-HundredGigE1/0/1] port link-type trunk
[CE1-HundredGigE1/0/1] port trunk permit vlan 100
Vlan
-int
101
Loop0
PE 1
PE 2
PE 3
CE 1
CE 2
CE 3
Source
Receiver
192.168.1.1/24
Vlan
-int
101
Vlan
-int
102
Vlan
-int
102
Vlan
-int
103
Vlan
-int
103
HGE1/0/1
HGE1/0/1
HGE1/0/1
HGE1/0/2
HGE1/0/2
HGE1/0/2
Site 1 of VPN a
VPLS network
Loop0
Loop0
HGE1/0/1
HGE1/0/1
HGE1/0/1
VLAN 100
VLAN 100
VLAN 100
Host B
Host A
Site 3 of VPN a
Site 2 of VPN a