H3C Technologies H3C S10500 Series Switches User Manual

Page 75

Advertising
background image

60

[RouterC] multicast routing-enable

[RouterC] interface gigabitethernet 1/0/1

[RouterC-GigabitEthernet1/0/1] pim sm

[RouterC-GigabitEthernet1/0/1] igmp enable

[RouterC-GigabitEthernet1/0/1] quit

[RouterC] interface gigabitethernet 1/0/2

[RouterC-GigabitEthernet1/0/2] pim sm

5.

Configure Router D

The configuration on Router D is similar to that on Router C. (details not shown)

6.

Configure Switch A

# Enable IGMP snooping globally.

<SwitchA> system-view

[SwitchA] igmp-snooping

[SwitchA-igmp-snooping] quit

# Create VLAN 100, assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to this VLAN, and
enable IGMP snooping and PIM snooping in the VLAN.

[SwitchA] vlan 100

[SwitchA-vlan100] port gigabitethernet 1/0/1 to gigabitethernet 1/0/4

[SwitchA-vlan100] igmp-snooping enable

[SwitchA-vlan100] pim-snooping enable

[SwitchA-vlan100] quit

7.

Verify the configuration

# On Switch A, display the PIM snooping neighbor information of VLAN 100.

[SwitchA] display pim-snooping neighbor vlan 100

Total number of neighbors: 4

VLAN ID: 100

Total number of neighbors: 4

Neighbor Port Expires Option Flags

10.1.1.1 GE1/0/1 02:02:23 LAN Prune Delay

10.1.1.2 GE1/0/2 03:00:05 LAN Prune Delay

10.1.1.3 GE1/0/3 02:22:13 LAN Prune Delay

10.1.1.4 GE1/0/4 03:07:22 LAN Prune Delay

The output shows that Router A, Router B, Router C, and Router D are PIM snooping neighbors.
# On Switch A, display the PIM snooping routing information of VLAN 100.

[SwitchA] display pim-snooping routing-table vlan 100 slot 1

Total 2 entry(ies)

FSM Flag: NI-no info, J-join, PP-prune pending

VLAN ID: 100

Total 2 entry(ies)

(*, 224.1.1.1)

Upstream neighbor: 10.1.1.1

Upstream port: GE1/0/1

Total number of downstream ports: 1

1: GE1/0/3

Advertising