Got it

Example for Configuring Interface-based Multicast VLAN Replication

168 0 1 0 0

Multicast VLAN replication is used to distribute the same multicast data to different user VLANs. 

On a Layer 2 broadcast network, multicast data is broadcast to all hosts. Internet Group Management Protocol (IGMP) snooping solves this problem but it takes effect only within a VLAN. If users in different VLANs require the same multicast data, the upstream router still has to send multiple copies of identical multicast data to different VLANs.

Multicast VLAN replication can be configured on a Layer 2 device to implement multicast data replication across VLANs. After this function is configured, the upstream router replicates multicast data in the multicast VLAN and sends only one copy to the Layer 2 device, instead of sending several identical multicast data flows downstream. This saves network bandwidth and reduces the burden on the router.

Networking Requirements

GE1/0/0 on SwitchA is connected to the Router. GE2/0/0 provides services for ISP1, and GE3/0/0 provides services for ISP2. ISP1 and ISP2 use multicast VLAN 2 and VLAN 3 respectively to provide multicast services for users. GE2/0/0 and GE3/0/0 have the same user VLAN (VLAN 10).

To ensure that multicast packets of each ISP are sent only to users of the ISP, interface-based multicast VLAN replication is required. After the configuration is complete, multicast data of an ISP will be sent only to the interface connected to the ISP.

Configuring interface-based multicast VLAN replication


imgDownload?uuid=25202cb6df90414586ecfe0e5c9732df



Configuration Roadmap

The configuration roadmap is as follows:

1. Enable Internet Group Management Protocol (IGMP) snooping in the system view.

2. Create user VLAN 10.

3. Create multicast VLANs 2 and 3 and enable IGMP snooping in the multicast VLANs.

4. Bind user VLAN 10 to multicast VLANs on GE2/0/0 and GE3/0/0 respectively.

5. Add the network-side interface and user-side interfaces to the VLANs as hybrid interfaces.


Procedure

1. Create user VLAN 10.

<HUAWEI> system-view

[HUAWEI] sysname SwitchA

[SwitchA] vlan batch 10


2. Create multicast VLANs 2 and 3, and enable the IGMP snooping and IGMP snooping querier functions in the multicast VLANs.

It is recommended that you configure igmp-snooping querier enable in the multicast VLAN view. If the Router is the gateway with IGMP enabled, you do not need to perform this configuration.

[SwitchA] igmp-snooping enable
[SwitchA] vlan 2
[SwitchA-vlan2] igmp-snooping enable
[SwitchA-vlan2] igmp-snooping querier enable
[SwitchA-vlan2] quit
[SwitchA] vlan 3
[SwitchA-vlan3] igmp-snooping enable
[SwitchA-vlan3] igmp-snooping querier enable
[SwitchA-vlan3] quit


3. Bind user VLAN 10 to multicast VLANs on GE2/0/0 and GE3/0/0 respectively.

[SwitchA] interface gigabitethernet 2/0/0

[SwitchA-GigabitEthernet2/0/0] l2-multicast-bind vlan 10 mvlan 2

[SwitchA-GigabitEthernet2/0/0] quit

[SwitchA] interface gigabitethernet 3/0/0

[SwitchA-GigabitEthernet3/0/0] l2-multicast-bind vlan 10 mvlan 3

[SwitchA-GigabitEthernet3/0/0] quit


4. Add GE1/0/0 to the multicast VLANs. Add GE2/0/0 and GE3/0/0 to the user VLAN.

# Add GE1/0/0 to multicast VLANs 2 and 3 as a trunk interface.

[SwitchA] interface gigabitethernet 1/0/0

[SwitchA-GigabitEthernet1/0/0] port link-type trunk

[SwitchA-GigabitEthernet1/0/0] port trunk allow-pass vlan 2 3

[SwitchA-GigabitEthernet1/0/0] quit


# Add GE2/0/0 and GE3/0/0 respectively to user VLAN 10 as hybrid interfaces.

[SwitchA] interface gigabitethernet 2/0/0

[SwitchA-GigabitEthernet2/0/0] port link-type hybrid

[SwitchA-GigabitEthernet2/0/0] port hybrid pvid vlan 10

[SwitchA-GigabitEthernet2/0/0] port hybrid untagged vlan 10

[SwitchA-GigabitEthernet2/0/0] quit

[SwitchA] interface gigabitethernet 3/0/0

[SwitchA-GigabitEthernet3/0/0] port link-type hybrid

[SwitchA-GigabitEthernet3/0/0] port hybrid pvid vlan 10

[SwitchA-GigabitEthernet3/0/0] port hybrid untagged vlan 10

[SwitchA-GigabitEthernet3/0/0] quit


5. Verify the configuration.

Run the display l2-multicast-bind command on Switch A to view binding between the user VLAN and multicast VLANs.[SwitchA] display l2-multicast-bind

 -------------------------------------------------------------------            
Port                          Startvlan        Endvlan        Mvlan            
-------------------------------------------------------------------            
GigabitEthernet2/0/0                 10             --            2            
GigabitEthernet3/0/0                 10             --            3            
-------------------------------------------------------------------            
Total Table(s) : 2


Configuration Files

SwitchA configuration file

#
sysname SwitchA
#
vlan batch 2 to 3 10
#
igmp-snooping enable
#
vlan 2
igmp-snooping enable
igmp-snooping querier enable
vlan 3
igmp-snooping enable
igmp-snooping querier enable
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 2 to 3
#
interface GigabitEthernet2/0/0 port link-type hybrid port hybrid pvid vlan 10
port hybrid untagged vlan 10
l2-multicast-bind vlan 10 mvlan 2
#
interface GigabitEthernet3/0/0 port link-type hybrid port hybrid pvid vlan 10
port hybrid untagged vlan 10
l2-multicast-bind vlan 10 mvlan 3
#
return

This is what I want to talk about/share with you today, thank you!

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.