R3102-R3103-HP 6600/HSR6600 Routers IP Multicast Configuration Guide

Table Of Contents
413
Figure 112 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 and to permit packets from
VLAN 10 to pass and tag the packets when forwarding them.
[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