Verifying the configuration – H3C Technologies H3C S12500 Series Switches User Manual

Page 92

Advertising
background image

76

# Enable IP multicast routing on Switch C, enable PIM-DM on each interface, and enable IGMP on

VLAN-interface 100.

<SwitchC> system-view

[SwitchC] multicast routing-enable

[SwitchC] interface vlan-interface 100

[SwitchC-Vlan-interface100] igmp enable

[SwitchC-Vlan-interface100] pim dm

[SwitchC-Vlan-interface100] quit

[SwitchC] interface vlan-interface 101

[SwitchC-Vlan-interface101] pim dm

[SwitchC-Vlan-interface101] 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 300

[SwitchA-Vlan-interface300] pim dm

[SwitchA-Vlan-interface300] quit

[SwitchA] interface vlan-interface 102

[SwitchA-Vlan-interface102] pim dm

[SwitchA-Vlan-interface102] quit

# Enable IP multicast routing and enable PIM-DM on Switch B in the same way. (Details not

shown.)
# Use the display multicast rpf-info command to view the RPF routes to Source 2 on Switch B and
Switch C.

[SwitchB] display multicast rpf-info 50.1.1.100

[SwitchC] display multicast rpf-info 50.1.1.100

No information is displayed, so no RPF route to Source 2 exists on Switch B or Switch C.

4.

Configure a static multicast route:
# Configure a static multicast route on Switch B, specifying Switch A as its RPF neighbor on the
route to Source 2.

[SwitchB] ip rpf-route-static 50.1.1.100 24 30.1.1.2

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

route to Source 2.

[SwitchC] ip rpf-route-static 10.1.1.100 24 20.1.1.2

Verifying the configuration

# Use the display multicast rpf-info command to view the RPF routes to Source 2 on Switch B and

Switch C.

[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: multicast static

Route selection rule: preference-preferred

Load splitting rule: disable

[SwitchC] display multicast rpf-info 50.1.1.100

RPF information about source 50.1.1.100:

Advertising