3Com Switch 7750 Configuration Guide
PIM Configuration Examples 477
Configuration procedure
1 Configure unicast routing
Configure the OSPF protocol for interoperation among the switches in the
PIM-DM domain. Ensure the network-layer interoperation among the switches in
the PIM-DM domain. Detailed configuration steps are omitted here.
2 Enable IP multicast routing, and enable PIM-DM on each interface
# Enable multicast routing on Lanswitch 1, and enable PIM-DM on each interface.
<Lanswitch1> system-view
[Lanswitch1] multicast routing-enable
[Lanswitch1] interface Vlan-interface 10
[Lanswitch1-Vlan-interface10] pim dm
[Lanswitch1-Vlan-interface10] quit
[Lanswitch1] interface Vlan-interface 11
[Lanswitch1-Vlan-interface11] pim dm
[Lanswitch1-Vlan-interface11] quit
[Lanswitch1] interface Vlan-interface 12
[Lanswitch1-Vlan-interface12] pim dm
# Enable multicast routing on Lanswitch 2, enable PIM-DM on each interface, and
enable IGMP on Vlan-interface 20.
<Lanswitch2> system-view
[Lanswitch2] multicast routing-enable
[Lanswitch2] interface Vlan-interface 11
[Lanswitch2-Vlan-interface11] pim dm
[Lanswitch2-Vlan-interface11] quit
[Lanswitch2] interface Vlan-interface 20
[Lanswitch2-Vlan-interface12] pim dm
[Lanswitch2-Vlan-interface12] igmp enable
The configuration on Lanswitch 3 is similar to the configuration on Lanswitch 2.
PIM-SM Configuration
Example
Network requirements
All Ethernet switches are reachable for each other in the practical network.
■ LS_A is connected to LS_B through Vlan-interface 10, to Host A through
Vlan-interface 11 and to LS_C through Vlan-interface 12.
■ LS_B is connected to LS_A through Vlan-interface 10, to LS_C through
Vlan-interface 11 and to LS_D through Vlan-interface 12.
■ LS_C is connected to Host B through Vlan-interface 10, to LS_B through
Vlan-interface 11 and to LS_A through Vlan-interface 12.
Host A is the receiver of the multicast group whose multicast IP address is
225.0.0.1. Host B begins to send data to the destination 225.0.0.1 and LS_A
receives the multicast data from Host B through LS_B.