Configuration procedure – H3C Technologies H3C S12500 Series Switches User Manual

Page 229

Advertising
background image

213

Device Interface

IP address

Switch A

VLAN-interface 101

192.168.1.1/24

Switch A

Loopback 0

1.1.1.1/32

Switch B

VLAN-interface 200

10.110.3.1/24

Switch B

VLAN-interface 102

10.110.2.2/24

Switch B

VLAN-interface 103

192.168.2.1/24

Switch C

VLAN-interface 300

10.110.4.1/24

Switch C

VLAN-interface 104

10.110.5.1/24

Switch C

VLAN-interface 101

192.168.1.2/24

Switch C

VLAN-interface 103

192.168.2.2/24

Switch C

Loopback 0

2.2.2.2/32

Switch D

VLAN-interface 400

10.110.6.1/24

Switch D

VLAN-interface 500

10.110.7.1/24

Switch D

VLAN-interface 104

10.110.5.2/24

Switch D

Loopback 0

3.3.3.3/32

Configuration Procedure

1.

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

Figure 62

. (Details not shown.)

2.

Configure OSPF on the switches to make sure the network-layer is interoperable within and
between the PIM-SM domains and routing information among the switches can be dynamically

updated. (Details not shown.)

3.

Enable IP multicast routing, PIM-SM and IGMP, and configure a PIM domain border:
# On Switch A, enable IP multicast routing, enable PIM-SM on each interface, and enable IGMP
on the host-side interface, VLAN-interface 100.

<SwitchA> 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

[SwitchA] interface loopback 0

[SwitchA-LoopBack0] pim sm

[SwitchA-LoopBack0] quit

# Enable IP multicast routing, PIM-SM, and IGMP on Switch B, Switch C, and Switch D in the same

way. (Details not shown.)
# Configure a PIM domain border on Switch C.

Advertising