
63
# Enable PIM-SM and IGMP on GigabitEthernet 1/0/2.
[Spoke1]interface gigabitethernet 1/0/2
[Spoke1-GigabitEthernet1/0/2]pim sm
[Spoke1-GigabitEthernet1/0/2]igmp enable
[Spoke1-GigabitEthernet1/0/2]quit
# Enable PIM-SM and NBMA mode on tunnel interface
tunnel1
.
[Spoke1]interface tunnel 1
[Spoke1-Tunnel1]pim sm
[Spoke1-Tunnel1]pim nbma-mode
[Spoke1-Tunnel1]quit
d.
Configure Spoke 2:
# Enable IP multicast routing.
<Spoke2>system-view
[Spoke2]multicast routing
[Spoke2-mrib]quit
# Enable PIM-SM and NBMA mode on tunnel interface
tunnel1
.
[Spoke2]interface tunnel 1
[Spoke2-Tunnel1]pim sm
[Spoke2-Tunnel1]pim nbma-mode
[Spoke2-Tunnel1]quit
Verifying the configuration
# Send an IGMP report from Spoke 1 to join multicast group 225.1.1.1. (Details not shown.)
# Send multicast data from the source to the multicast group. (Details not shown.)
# Display PIM routing entries on Hub 1.
[Hub1]display pim routing-table
Total 1 (*, G) entries; 1 (S, G) entries
(*, 225.1.1.1)
RP: 1.1.1.1 (local)
Protocol: pim-sm, Flag: WC
UpTime: 00:02:52
Upstream interface: Register-Tunnel1
Upstream neighbor: NULL
RPF prime neighbor: NULL
Downstream interface information:
Total number of downstream interfaces: 1
1: Tunnel1, 192.168.0.3
Protocol: pim-sm, UpTime: 00:02:05, Expires: 00:03:26
(10.1.1.1, 225.1.1.1)
RP: 1.1.1.1 (local)
Protocol: pim-sm, Flag: SPT LOC ACT
UpTime: 00:00:02
Upstream interface: GigabitEthernet1/0/3
Upstream neighbor: NULL
RPF prime neighbor: NULL
Downstream interface information: