317
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 MLD snooping globally.
<CE1> system-view
[CE1] mld-snooping
[CE1-mld-snooping] quit
# Create VLAN 100, and assign HundredGigE 1/0/2 to the VLAN.
[CE1] vlan 100
[CE1-vlan100] port hundredgige 1/0/2
# In VLAN 100, enable MLD snooping, and enable dropping unknown IPv6 multicast data.
[CE1-vlan100] mld-snooping enable
[CE1-vlan100] mld-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
[CE1-HundredGigE1/0/1] quit
# Enable the MLD snooping querier in VLAN 100.
[CE1-vlan100] mld-snooping querier
4.
Configure CE 2:
# Enable MLD snooping globally.
<CE2> system-view
[CE2] mld-snooping
[CE2-mld-snooping] quit
# Create VLAN 100, and assign HundredGigE 1/0/2 to VLAN 100.
[CE2] vlan 100
[CE2-vlan100] port hundredgige 1/0/2
# In VLAN 100, enable MLD snooping, and enable dropping unknown IPv6 multicast data.
[CE2-vlan100] mld-snooping enable
[CE2-vlan100] mld-snooping drop-unknown
# Configure HundredGigE 1/0/1 as a trunk port, and assign it to VLAN 100.
[CE2] interface hundredgige 1/0/1
[CE2-HundredGigE1/0/1] port link-type trunk
[CE2-HundredGigE1/0/1] port trunk permit vlan 100
[CE2-HundredGigE1/0/1] quit
5.
Configure CE 3:
# Enable MLD snooping globally.
<CE3> system-view
[CE3] mld-snooping
[CE3-mld-snooping] quit
# Create VLAN 100, and assign HundredGigE 1/0/2 to VLAN 100.
[CE3] vlan 100
[CE3-vlan100] port hundredgige 1/0/2
# In VLAN 100, enable MLD snooping, and enable dropping unknown IPv6 multicast data.