beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 197

background image

182

Configure OSPF on the switches in the PIM-SM domain to ensure network-layer reachability among them.

(Details not shown)

2.

Enable IP multicast routing, and enable PIM-SM and IGMP.

# Enable IP multicast routing on Switch A, enable PIM-SM 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 sm

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim sm

[SwitchA-Vlan-interface101] quit

[SwitchA] interface vlan-interface 102

[SwitchA-Vlan-interface102] pim sm

[SwitchA-Vlan-interface102] quit

The configuration on Switch B and Switch C is similar to that on Switch A. The configuration on Switch D
and Switch E is also similar to that on Switch A except that it is not necessary to enable IGMP on the

corresponding interfaces on these two switches.

3.

Configure a C-BSR and a C-RP.

# On Switch D, configure the service scope of RP, specify a C-BSR and a C-RP, and set the hash mask

length to 32 and the priority of the C-BSR to 10.

system-view

[SwitchD] acl number 2005

[SwitchD-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255

[SwitchD-acl-basic-2005] quit

[SwitchD] pim

[SwitchD-pim] c-bsr vlan-interface 105 32 10

[SwitchD-pim] c-rp vlan-interface 105 group-policy 2005

[SwitchD-pim] quit

# On Switch E, configure the service scope of RP advertisements, specify a C-BSR and a C-RP, and set the
hash mask length to 32 and the priority of the C-BSR to 20.

system-view

[SwitchE] acl number 2005

[SwitchE-acl-basic-2005] rule permit source 225.1.1.0 0.0.0.255

[SwitchE-acl-basic-2005] quit

[SwitchE] pim

[SwitchE-pim] c-bsr vlan-interface 102 32 20

[SwitchE-pim] c-rp vlan-interface 102 group-policy 2005

[SwitchE-pim] quit

4.

Verify the configuration.

Carry out 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 A.

[SwitchA] display pim interface