H3C Technologies H3C S12500-X Series Switches User Manual
Page 68

58
# On Switch A, enable IP multicast routing globally.
[SwitchA] multicast routing
[SwitchA-mrib] quit
# Enable IGMP on VLAN-interface 100 (the interface that connects to the stub network).
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp enable
[SwitchA-Vlan-interface100] quit
# Enable PIM-DM on VLAN-interface 101.
[SwitchA] interface vlan-interface 101
[SwitchA-Vlan-interface101] pim dm
[SwitchA-Vlan-interface101] quit
# On Switch B, enable IP multicast routing globally.
[SwitchB] multicast routing
[SwitchB-mrib] quit
# Enable IGMP on VLAN-interface 200 (the interface that connects to the stub network).
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] igmp enable
[SwitchB-Vlan-interface200] quit
# Enable PIM-DM on VLAN-interface 201.
[SwitchB] interface vlan-interface 201
[SwitchB-Vlan-interface201] pim dm
[SwitchB-Vlan-interface201] quit
# On Switch C, enable IP multicast routing globally.
[SwitchC] multicast routing
[SwitchC-mrib] quit
# Enable IGMP on VLAN-interface 200 (the interface that connects to the stub network).
[SwitchC] interface vlan-interface 200
[SwitchC-Vlan-interface200] igmp enable
[SwitchC-Vlan-interface200] quit
# Enable PIM-DM on VLAN-interface 202.
[SwitchC] interface vlan-interface 202
[SwitchC-Vlan-interface202] pim dm
[SwitchC-Vlan-interface202] quit
4.
Configure a multicast group filter on Switch A so that the hosts connected to VLAN-interface 100
can join the multicast group 224.1.1.1 only.
[SwitchA] acl number 2001
[SwitchA-acl-basic-2001] rule permit source 224.1.1.1 0
[SwitchA-acl-basic-2001] quit
[SwitchA] interface vlan-interface 100
[SwitchA-Vlan-interface100] igmp group-policy 2001
[SwitchA-Vlan-interface100] quit
- H3C S9800 Series Switches H3C S5560 Series Switches H3C S5130 Series Switches H3C S5120 Series Switches H3C S12500 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module