Configure a multicast VLAN, so that users in VLAN 2 and VLAN 3 can receive multicast streams through the multicast VLAN.

Figure 2-4Network diagram for multicast VLAN configuration

 

 

 

 

 

 

 

 

 

 

 

 

/1

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

/

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

 

 

 

Vlan-int20

Vlan-int10

 

 

 

E

 

 

 

 

 

 

 

 

 

 

G

 

 

 

 

2

168.10.1.1

168.10.2.1

 

 

 

 

 

 

 

 

n

GE1/0/10

 

 

 

 

la

 

 

 

 

 

 

V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GE1/0/1

GE1/0/10 Vlan10

 

 

 

Vl

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

a

 

 

 

 

 

 

 

 

 

 

 

G

 

 

 

n

 

 

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

 

 

 

 

 

 

E

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1/

 

 

 

 

WorkStation

 

SwitchA

 

 

SwitchB

0/

 

 

 

 

 

 

 

2

 

 

HostA

HostB

Configuration procedure

The following configuration is based on the prerequisite that the devices are properly connected and all the required IP addresses are already configured.

1)Configure Switch A:

# Set the interface IP address of VLAN 20 to 168.10.1.1 and enable PIM DM on the VLAN interface.

<SwitchA> system-view

[SwitchA] multicast routing-enable

[SwitchA] vlan 20

[SwitchA–vlan20]port GigabitEthernet 1/0/1 [SwitchA-vlan20] quit

[SwitchA] interface Vlan-interface 20 [SwitchA-Vlan-interface20] ip address 168.10.1.1 255.255.255.0

[SwitchA-Vlan-interface20] pim dm

[SwitchA-Vlan-interface20] quit

# Configure VLAN 10.

[SwitchA] vlan 10

[SwitchA-vlan10] quit

#Define GigabitEthernet 1/0/10 as a hybrid port, add the port to VLAN 10, and configure the port to forward tagged packets for VLAN 10.

[SwitchA] interface GigabitEthernet 1/0/10 [SwitchA-GigabitEthernet1/0/10] port link-type hybrid

[SwitchA-GigabitEthernet1/0/10] port hybrid vlan 10 tagged

[SwitchA-GigabitEthernet1/0/10] quit

# Configure the interface IP address of VLAN 10 as 168.10.2.1, and enable PIM-DM and IGMP.

[SwitchA] interface Vlan-interface 10

[SwitchA-Vlan-interface10] ip address 168.10.2.1 255.255.255.0

[SwitchA-Vlan-interface10] igmp enable

2)Configure Switch B:

# Enable the IGMP Snooping feature on Switch B.

<SwitchB> system-view

[SwitchB] igmp-snooping enable

2-18

Page 471
Image 471
3Com WX3000 operation manual 4Network diagram for multicast Vlan configuration, # Configure Vlan