H3C Technologies H3C S10500 Series Switches User Manual
Page 109
94
[SwitchA] interface tunnel 0
[SwitchA-Tunnel0] pim dm
[SwitchA-Tunnel0] quit
# Enable multicast routing on Switch C, enable PIM-DM on each interface, and enable IGMP on
VLAN-interface 200.
[SwitchC] multicast routing-enable
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] igmp enable
[SwitchC-Vlan-interface200] pim dm
[SwitchC-Vlan-interface200] quit
[SwitchC] interface vlan-interface 102
[SwitchC-Vlan-interface102] pim dm
[SwitchC-Vlan-interface102] quit
[SwitchC] interface tunnel 0
[SwitchC-Tunnel0] pim dm
[SwitchC-Tunnel0] quit
5.
Configure a static multicast route
# On Switch C, configure a static multicast route, specifying the RPF neighbor leading toward Source as
Tunnel 0 on Switch A.
[SwitchC] ip rpf-route-static 50.1.1.0 24 50.1.1.1
6.
Verify the configuration
Source sends multicast data to the multicast group 225.1.1.1 and Receiver can receive the multicast data
after joining the multicast group. You can view the PIM routing table information on routers using the
display pim routing-table command. For example:
# View the PIM routing table information on Switch C.
[SwitchC] display pim routing-table
VPN-Instance: public net
Total 1 (*, G) entry; 1 (S, G) entry
(*, 225.1.1.1)
Protocol: pim-dm, Flag: WC
UpTime: 00:04:25
Upstream interface: NULL
Upstream neighbor: NULL
RPF prime neighbor: NULL
Downstream interface(s) information:
Total number of downstreams: 1
1: Vlan-interface200
Protocol: igmp, UpTime: 00:04:25, Expires: never
(10.1.1.100, 225.1.1.1)
Protocol: pim-dm, Flag: ACT
UpTime: 00:06:14
Upstream interface: Tunnel0
Upstream neighbor: 50.1.1.1
RPF prime neighbor: 50.1.1.1
Downstream interface(s) information: