beautypg.com

H3C Technologies H3C S10500 Series Switches User Manual

Page 214

background image

199

[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 the SSM group range.

# Configure the SSM group range to be 232.1.1.0/24 on Switch A.

[SwitchA] acl number 2000

[SwitchA-acl-basic-2000] rule permit source 232.1.1.0 0.0.0.255

[SwitchA-acl-basic-2000] quit

[SwitchA] pim

[SwitchA-pim] ssm-policy 2000

[SwitchA-pim] quit

The configuration on Switch B, Switch C, Switch D and Switch E is similar to that on Switch A.

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

VPN-Instance: public net

Interface NbrCnt HelloInt DR-Pri DR-Address

Vlan100 0 30 1 10.110.1.1 (local)

Vlan101 1 30 1 192.168.1.2

Vlan102 1 30 1 192.168.9.2

Assume that Host A needs to receive the information a specific multicast source S (10.110.5.100/24)
sends to multicast group G (232.1.1.1). Switch A builds an SPT toward the multicast source. Switches on

the SPT path (Switch A and Switch D) have generated an (S, G) entry, but Switch E, which is not on the

SPT path, does not have multicast routing entries. You can use the display pim routing-table command to

view the PIM routing table information on each switch. For example:
# View the PIM routing table information on Switch A.

[SwitchA] display pim routing-table

VPN-Instance: public net

Total 0 (*, G) entry; 1 (S, G) entry

(10.110.5.100, 232.1.1.1)

Protocol: pim-ssm, Flag:

UpTime: 00:13:25

Upstream interface: Vlan-interface101

Upstream neighbor: 192.168.1.2

RPF prime neighbor: 192.168.1.2

Downstream interface(s) information:

Total number of downstreams: 1