beautypg.com

Configuration procedure – H3C Technologies H3C S10500 Series Switches User Manual

Page 74

background image

59

Figure 20 Network diagram for PIM snooping configuration

Configuration procedure

1.

Assign IP addresses

Configure an IP address and subnet mask for each interface according to

Figure 20

. (details not shown)

2.

Configure Router A

# Enable IP multicast routing, enable PIM-SM on each interface, and configure interface GigabitEthernet

1/0/2 as a C-BSR and C-RP.

system-view

[RouterA] multicast routing-enable

[RouterA] interface gigabitethernet 1/0/1

[RouterA-GigabitEthernet1/0/1] pim sm

[RouterA-GigabitEthernet1/0/1] quit

[RouterA] interface gigabitethernet 1/0/2

[RouterA-GigabitEthernet1/0/2] pim sm

[RouterA-GigabitEthernet1/0/2] quit

[RouterA] pim

[RouterA-pim] c-bsr gigabitethernet 1/0/2

[RouterA-pim] c-rp gigabitethernet 1/0/2

3.

Configure Router B

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

system-view

[RouterB] multicast routing-enable

[RouterB] interface gigabitethernet 1/0/1

[RouterB-GigabitEthernet1/0/1] pim sm

[RouterB-GigabitEthernet1/0/1] quit

[RouterB] interface gigabitethernet 1/0/2

[RouterB-GigabitEthernet1/0/2] pim sm

4.

Configure Router C

# Enable IP multicast routing, enable PIM-SM on each interface, and enable IGMP on GigabitEthernet

1/0/1.

system-view