Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 225

Advertising
background image

209

Device Interface

IP address

Switch E

VLAN-interface 400

10.110.6.1/24

Switch E

VLAN-interface 104

10.110.4.2/24

Configuration procedure

1.

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

Figure 61

. (Details not shown.)

2.

Configure OSPF on the switches to make sure the network-layer is interoperable among the
switches, and routing information between the switches can be dynamically updated. (Details not

shown.)

3.

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

<SwitchB> system-view

[SwitchB] multicast routing-enable

[SwitchB] interface vlan-interface 100

[SwitchB-Vlan-interface100] igmp enable

[SwitchB-Vlan-interface100] pim sm

[SwitchB-Vlan-interface100] quit

[SwitchB] interface vlan-interface 103

[SwitchB-Vlan-interface103] pim sm

[SwitchB-Vlan-interface103] quit

[SwitchB] interface Vlan-interface 101

[SwitchB-Vlan-interface101] pim sm

[SwitchB-Vlan-interface101] quit

[SwitchB] interface loopback 0

[SwitchB-LoopBack0] pim sm

[SwitchB-LoopBack0] quit

[SwitchB] interface loopback 10

[SwitchB-LoopBack10] pim sm

[SwitchB-LoopBack10] quit

[SwitchB] interface loopback 20

[SwitchB-LoopBack20] pim sm

[SwitchB-LoopBack20] quit

# Enable IP multicast routing, PIM-SM, and IGMP on Switch A, Switch C, Switch D, and Switch E

in the same way. (Details not shown.)

4.

Configure C-BSRs and C-RPs:
# Configure Loopback 10 as a C-BSR and Loopback 20 as a C-RP on Switch B.

[SwitchB] pim

[SwitchB-pim] c-bsr loopback 10

[SwitchB-pim] c-rp loopback 20

[SwitchB-pim] quit

# Configure a C-BSR and a C-RP on Switch D in the same way. (Details not shown.)

5.

Configure MSDP peers:
# Configure an MSDP peer on Loopback 0 of Switch B.

[SwitchB] msdp

Advertising