beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 621

background image

596

# Enable IP multicast routing on SecPath A, enable PIM-DM on each interface, and enable IGMP

on GigabitEthernet 0/1.

system-view

[SecPathA] multicast routing-enable

[SecPathA] interface GigabitEthernet 0/1

[SecPathA-GigabitEthernet0/1] igmp enable

[SecPathA-GigabitEthernet0/1] pim dm

[SecPathA-GigabitEthernet0/1] quit

[SecPathA] interface GigabitEthernet 0/2

[SecPathA-GigabitEthernet0/2] pim dm

[SecPathA-GigabitEthernet0/2] quit

# Enable IP multicast routing on SecPath B, enable PIM-DM on each interface, and enable IGMP
on GigabitEthernet 0/1.

system-view

[SecPathB] multicast routing-enable

[SecPathB] interface GigabitEthernet 0/1

[SecPathB-GigabitEthernet0/1] igmp enable

[SecPathB-GigabitEthernet0/1] pim dm

[SecPathB-GigabitEthernet0/1] quit

[SecPathB] interface GigabitEthernet 0/2

[SecPathB-GigabitEthernet0/2] pim dm

[SecPathB-GigabitEthernet0/2] quit

# Enable IP multicast routing on SecPath C, enable PIM-DM on each interface, and enable IGMP
on GigabitEthernet 0/1.

system-view

[SecPathC] multicast routing-enable

[SecPathC] interface GigabitEthernet 0/1

[SecPathC-GigabitEthernet0/1] igmp enable

[SecPathC-GigabitEthernet0/1] pim dm

[SecPathC-GigabitEthernet0/1] quit

[SecPathC] interface GigabitEthernet 0/2

[SecPathC-GigabitEthernet0/2] pim dm

[SecPathC-GigabitEthernet0/2] quit

3.

Configure a multicast group filter:
# Configure a multicast group filter on SecPath A, so that the hosts connected to GigabitEthernet
0/1 can join only multicast group 224.1.1.1.

[SecPathA] acl number 2001

[SecPathA-acl-basic-2001] rule permit source 224.1.1.1 0

[SecPathA-acl-basic-2001] quit

[SecPathA] interface GigabitEthernet 0/1

[SecPathA-GigabitEthernet0/1] igmp group-policy 2001

[SecPathA-GigabitEthernet0/1] quit

4.

Verify the configuration:
Use the display igmp interface command to display IGMP information on each interface of the
firewalls. For example:
# Display IGMP information on GigabitEthernet 0/1 of SecPath B.

[SecPathB] display igmp interface GigabitEthernet 0/1