beautypg.com

H3C Technologies H3C S7500E Series Switches User Manual

Page 182

background image

6-45

Configure the IP address and subnet mask for each interface as per

Figure 6-10

. Detailed

configuration steps are omitted here.

Configure the OSPF protocol for interoperation among the switches in the PIM-DM domain.

Ensure the network-layer interoperation in the PIM-DM domain and enable dynamic update of

routing information among the switches through a unicast routing protocol. Detailed

configuration steps are omitted here.

2) Enable IP multicast routing, and enable PIM-DM and IGMP

# 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.

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 that on Switch A.

# Enable IP multicast routing on Switch D, and enable PIM-DM on each interface.

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

3) Verify

the

configuration

Use the display pim interface command to view the PIM configuration and running status on

each interface. For example:

# View the PIM configuration information on Switch D.

[SwitchD] display pim interface

Interface NbrCnt HelloInt DR-Pri DR-Address

Vlan300 0 30 1 10.110.5.1 (local)

Vlan103 1 30 1 192.168.1.2 (local)

Vlan101 1 30 1 192.168.2.2 (local)

Vlan102 1 30 1 192.168.3.2 (local)

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.