R3303-HP HSR6800 Routers IP Multicast Configuration Guide

32
Figure 111 Network diagram
Configuration procedure
1. Configure Router A:
# Enable IP multicast routing.
<RouterA> system-view
[RouterA] multicast routing-enable
# Create VLAN 20 and assign GigabitEthernet 2/0/2 into this VLAN.
[RouterA] vlan 20
[RouterA-vlan20] port gigabitethernet 2/0/2
[RouterA-vlan20] quit
# Configure an IP address for VLAN-interface 20 and enable PIM-DM.
[RouterA] interface vlan-interface 20
[RouterA-Vlan-interface20] ip address 1.1.1.2 24
[RouterA-Vlan-interface20] pim dm
[RouterA-Vlan-interface20] quit
# Create VLAN 10. Configure GigabitEthernet 2/0/1 as a hybrid port, assign the interface to
VLAN 10, and configure the interface to send packets from VLAN 10 with tags.
[RouterA] vlan 10
[RouterA-vlan10] quit
[RouterA] interface gigabitethernet 2/0/1
[RouterA-GigabitEthernet2/0/1] port link-type hybrid
[RouterA-GigabitEthernet2/0/1] port hybrid vlan 10 tagged
[RouterA-GigabitEthernet2/0/1] quit
# Configure an IP address on VLAN-interface 10 and enable IGMP and PIM-DM.
[RouterA] interface vlan-interface 10
[RouterA-Vlan-interface10] ip address 10.110.1.1 24
[RouterA-Vlan-interface10] igmp enable
[RouterA-Vlan-interface10] pim dm
[RouterA-Vlan-interface10] quit