Multicast
H3C Low-End Ethernet Switches Configuration Examples
Chapter 2 Multicast Protocol Configuration
Examples
2-22
II. Configuring a unicast routing protocol for each AS
# Configure OSPF on Switch C.
<SwitchC> system-view.
[SwitchC]ospf
[SwitchC-ospf-1]area 0
[SwitchC-ospf-1-area-0.0.0.0]network 10.110.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0]network 10.110.2.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
The configuration on Switch A, Switch B, Switch D, Switch E, Switch F and Switch G is
similar to the configuration on Switch C.
III. Configuring a multicast routing protocol
1)
Enable IP multicast routing, enable PIM-SM on each interface, and enable IGMP
on the interfaces connected with receivers.
# Enable IP multicast routing on Switch A, enable PIM-SM on each interface, and
enable IGMP on VLAN-interface 200.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] pim sm
[SwitchA-Vlan-interface100] quit
[SwitchA] interface vlan-interface 200
[SwitchA-Vlan-interface200] pim sm
[SwitchA-Vlan-interface200] igmp enable
[SwitchA-Vlan-interface200] quit
[SwitchA] interface vlan-interface 300
[SwitchA-Vlan-interface101] pim sm
The configuration on Switch E and Switch G is similar to the configuration on Switch A.
The specific configuration steps are omitted here.
# Enable IP multicast routing on Switch C and enable PIM-SM on each interface.
<SwitchC> system-view
[SwitchC] multicast routing-enable
[SwitchC] interface vlan-interface 100
[SwitchC-Vlan-interface100] pim sm
[SwitchC-Vlan-interface100] quit
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] pim sm
[SwitchC-Vlan-interface200] quit
[SwitchC] interface vlan-interface 101
[SwitchC-Vlan-interface101] pim sm