Verifying the configuration – H3C Technologies H3C S12500 Series Switches User Manual
Page 65

49
[RouterC] interface GigabitEthernet 3/0/2
[RouterC-GigabitEthernet3/0/2] pim sm
5.
Enable IP multicast routing, PIM-SM, and IGMP on Router D in the same way. (Details not shown.)
6.
Configure Switch A:
# Enable IGMP snooping globally.
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 100, assign GigabitEthernet 3/0/1 through GigabitEthernet 3/0/4 to this VLAN,
and enable IGMP snooping and PIM snooping in the VLAN.
[SwitchA] vlan 100
[SwitchA-vlan100] port GigabitEthernet 3/0/1 to GigabitEthernet 3/0/4
[SwitchA-vlan100] igmp-snooping enable
[SwitchA-vlan100] pim-snooping enable
[SwitchA-vlan100] quit
Verifying 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 GE3/0/1 02:02:23 LAN Prune Delay
10.1.1.2 GE3/0/2 03:00:05 LAN Prune Delay
10.1.1.3 GE3/0/3 02:22:13 LAN Prune Delay
10.1.1.4 GE3/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
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
Total number of downstream ports: 1
1: GE3/0/3
(*, 225.1.1.1)
Upstream neighbor: 10.1.1.2
Total number of downstream ports: 1
1: GE3/0/4
The output shows that Switch A will forward the multicast data intended for multicast group
224.1.1.1 to only Router C, and forward the multicast data intended for multicast group
225.1.1.1 to only Router D.