3Com 5500 Switch User Manual


 
Configuring PIM-DM plus IGMP 157
Configuration Procedure Configuring the interface IP addresses and unicast routing protocol for
each switch
Configure the IP address and subnet mask for each interface as per Figure 40. The
detailed configuration steps are omitted here.
Configure OSPF for interoperation among the switches in the PIM-DM domain.
Ensure the network-layer interoperation among Switch A, Switch B, Switch C, and
Switch D in the PIM-DM domain and enable dynamic update of routing
information among the switches via unicast.
Enabling IP multicast routing and enabling PIM-DM on each interface
# Enable IP multicast routing on Switch A, enable PIM-DM on each interface, and
enable IGMP on VLAN-interface 100, which connects Switch A to the stub
network.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] pim dm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 103
[SwitchA-Vlan-interface103] pim dm
[SwitchA-Vlan-interface103] quit
The configuration on Switch B and Switch C is similar to the configuration on
Switch A.
# Enable multicast routing on Switch D, and enable PIM-DM on each interface.
<SwitchD> system-view
[SwitchD] multicast routing-enable
[SwitchD] interface vlan-interface 300
[SwitchD-Vlan-interface300] pim dm
[SwitchD-Vlan-interface300] quit
[SwitchD] interface vlan-interface 103
[SwitchD-Vlan-interface103] pim dm
[SwitchD-Vlan-interface103] quit
[SwitchD] interface vlan-interface 101
[SwitchD-Vlan-interface101] pim dm
[SwitchD-Vlan-interface101] quit
[SwitchD] interface vlan-interface 102
[SwitchD-Vlan-interface102] pim dm
[SwitchD-Vlan-interface102] quit
Verifying the configuration
Carry out the display pim neighbor command to view the PIM neighboring
relationships among the switches. For example:
# View the PIM neighboring relationships on Switch D.
[SwitchD] display pim neighbor
Neighbor’s Address Interface Name Uptime Expires
192.168.1.1 Vlan-interface1 00:47:08 00:01:39
192.168.2.1 Vlan-interface1 00:48:05 00:01:29
192.168.3.1 Vlan-interface1 00:49:08 00:01:34