Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 90

Advertising
background image

74

Configuration procedure

1.

Configure the IP address and subnet mask for each interface as shown in

Figure 27

. (Details not

shown.)

2.

Enable OSPF on the switches in the PIM-DM domain to make sure the network-layer is
interoperable among the switches in the PIM-DM domain and routing information among the

switches can be dynamically updated. (Details not shown.)

3.

Enable IP multicast routing, and enable PIM-DM and IGMP:
# Enable IP multicast routing on Switch B, enable PIM-DM on each interface, and enable IGMP on
VLAN-interface 100.

<SwitchB> system-view

[SwitchB] multicast routing-enable

[SwitchB] interface vlan-interface 100

[SwitchB-Vlan-interface100] igmp enable

[SwitchB-Vlan-interface100] pim dm

[SwitchB-Vlan-interface100] quit

[SwitchB] interface vlan-interface 101

[SwitchB-Vlan-interface101] pim dm

[SwitchB-Vlan-interface101] quit

[SwitchB] interface vlan-interface 102

[SwitchB-Vlan-interface102] pim dm

[SwitchB-Vlan-interface102] quit

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

<SwitchA> system-view

[SwitchA] multicast routing-enable

[SwitchA] interface vlan-interface 200

[SwitchA-Vlan-interface200] pim dm

[SwitchA-Vlan-interface200] quit

[SwitchA] interface vlan-interface 102

[SwitchA-Vlan-interface102] pim dm

[SwitchA-Vlan-interface102] quit

[SwitchA] interface vlan-interface 103

[SwitchA-Vlan-interface103] pim dm

[SwitchA-Vlan-interface103] quit

# Enable IP multicast routing and enable PIM-DM on Switch C in the same way. (Details not
shown.)
# Use the display multicast rpf-info command to view the RPF route to Source on Switch B.

[SwitchB] display multicast rpf-info 50.1.1.100

RPF information about source 50.1.1.100:

RPF interface: Vlan-interface102, RPF neighbor: 30.1.1.2

Referenced route/mask: 50.1.1.0/24

Referenced route type: igp

Route selection rule: preference-preferred

Load splitting rule: disable

The output shows that the current RPF route on Switch B is contributed by a unicast routing protocol
and the RPF neighbor is Switch A.

4.

Configure a static multicast route on Switch B, specifying Switch C as its RPF neighbor on the route
to Source.

Advertising