beautypg.com

Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 268

background image

253

Configuration procedure

1.

Configure IP addresses for interfaces as shown in

Figure 66

. (details not shown)

2.

Configure OSPF. (details not shown)

3.

Enable IP multicast routing, PIM-SM and IGMP, and configure a PIM-SM domain border.

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

system-view

[SwitchA] multicast routing-enable

[SwitchA] interface vlan-interface 100

[SwitchA-Vlan-interface100] pim sm

[SwitchA-Vlan-interface100] quit

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim sm

[SwitchA-Vlan-interface101] quit

The configuration on Switch B and Switch D is similar to the configuration on Switch A.
# Enable IP multicast routing on Switch C, enable PIM-SM on each interface, and enable IGMP on the

host-side interface VLAN-interface 200.

system-view

[SwitchC] multicast routing-enable

[SwitchC] interface vlan-interface 102

[SwitchC-Vlan-interface102] pim sm

[SwitchC-Vlan-interface102] quit

[SwitchC] interface vlan-interface 104

[SwitchC-Vlan-interface104] pim sm

[SwitchC-Vlan-interface104] quit

[SwitchC] interface vlan-interface 200

[SwitchC-Vlan-interface200] pim sm

[SwitchC-Vlan-interface200] igmp enable

[SwitchC-Vlan-interface200] quit

# Configure a PIM domain border on Switch A.

[SwitchA] interface vlan-interface 101

[SwitchA-Vlan-interface101] pim bsr-boundary

[SwitchA-Vlan-interface101] quit

# Configure a PIM domain border on Switch B.

[SwitchB] interface vlan-interface 101

[SwitchB-Vlan-interface101] pim bsr-boundary

[SwitchB-Vlan-interface101] quit

4.

Configure Loopback 0 and the position of C-BSR, and C-RP.

# Configure Loopback 0 and configure it as the C-BSR and C-RP on Switch A.

[SwitchA] interface loopback 0

[SwitchA-LoopBack0] ip address 1.1.1.1 32

[SwitchA-LoopBack0] pim sm

[SwitchA-LoopBack0] quit

[SwitchA] pim

[SwitchA-pim] c-bsr loopback 0

[SwitchA-pim] c-rp loopback 0