Table of Contents Chapter 1 Multicast VLAN Configuration

Similar documents
Table of Contents 1 IGMP Snooping Configuration 1-1

Table of Contents 1 Port Mirroring Configuration 1-1

Multicast Protocol Configuration Examples H3C S7500 Series Ethernet Switches Release Table of Contents

Multicast H3C Low-End Ethernet Switches Configuration Examples. Table of Contents

Table of Contents 1 IGMP Configuration 1-1

HP Routing Switch Series

IGMP Snooping Configuration

Figure 7-1 Unicast Static FDB window

Configuring MLD. Overview. MLD versions. How MLDv1 operates. MLD querier election

Dell EMC Networking VxRail Networking Quick Guide

Configuring MSDP. Overview. How MSDP operates. MSDP peers

Table of Contents 1 ARP Configuration Guide 1-1

H3C S12500 VLAN Configuration examples

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Configuring Router-Port Group Management Protocol

Multiple queriers. Here is a little CLI guide on how to setup IGMP snooping:

Table of Contents 1 MSDP Configuration 1-1

Multicast overview. Introduction to multicast. Information transmission techniques. Unicast

Configuring MSDP. MSDP overview. How MSDP works. MSDP peers

Contents. EVPN overview 1

Configuring PIM snooping

Table of Contents 1 VLAN Configuration 1-1

Contents. Configuring MSDP 1

HPE FlexFabric 7900 Switch Series

Operation Manual NTP. Table of Contents

HP 3600 v2 Switch Series

Table of Contents Chapter 1 Tunneling Configuration

Dell EMC Networking vsan vsphere Networking Quick Guide using Dell OS 9

Contents. Configuring EVI 1

Table of Contents 1 MSDP Configuration 1-1

Table of Contents 1 NTP Configuration 1-1

IT Deployment Guide AT-OMNI-512 AT-OMNI-521 AT-OMNI-111 AT-OMNI-112 AT-OMNI-121 AT-OMNI-122. Atlona Manuals OmniStream AT-OMNI-232

Multicast Technology White Paper

HP 5920 & 5900 Switch Series

Configuring IPv6 multicast routing and forwarding 1

Chapter 4 Configuring Switching

Table of Contents Chapter 1 Multicast Routing and Forwarding Configuration

H3C S9500 Series Routing Switches

Configuring multicast VPN

Table of Contents 1 Multicast VPN Configuration 1-1

Configuring IGMP Snooping and MVR

Operation Manual ARP H3C S5500-SI Series Ethernet Switches. Table of Contents

IGMP Snooping Command Reference

H3C S3600V2 Switch Series

Multicast Does Not Work in the Same VLAN in Catalyst Switches

Configuring IGMP Snooping and Filtering

Configuring IGMP Snooping

Table of Contents 1 QinQ Configuration BPDU Tunneling Configuration 2-1

HP A6600 Routers IP Multicast. Configuration Guide. Abstract

Table of Contents 1 Static Routing Configuration 1-1

Configuring Layer 2 Switching

Microsoft Network Load Balancing on UCS B Series Servers Deployment Configuration Example

Configuring IGMP Snooping and Filtering

Table of Contents 1 LLDP Configuration 1-1

Configuring Private Hosts

Constraining IP Multicast in a Switched Ethernet Network

SWP-0208G, 8+2SFP. 8-Port Gigabit Web Smart Switch. User s Manual

Quidway S5700 Series Ethernet Switches V100R006C01. Configuration Guide - Ethernet. Issue 02 Date HUAWEI TECHNOLOGIES CO., LTD.

VLAN Configuration. Understanding VLANs CHAPTER

Isolate-User-VLAN Technology White Paper

H3C S5120-EI Switch Series

Table of Contents Chapter 1 EPON System Configuration Chapter 2 OLT Configuration Chapter 3 ONU Configuration

Configuring Wireless Multicast

Multicast VLAN Registration (MVR)

Configuring PIM Snooping

UDLR Unidirectional Link Routing overview and examples

Configuring Multicast VLAN Registration

H3C S12500 Unauthorized DHCP Server Detection Configuration Examples

IGMP Snooping for IPv4 Multicast Traffic

Contents. Configuring a default route 1 Introduction to default routes 1

Routing Between VLANs Overview

H3C S3100V2 Switch Series

Configuring VLANs. Understanding VLANs CHAPTER

Configuring Private VLANs

DHCP H3C Low-End Ethernet Switches Configuration Examples. Table of Contents

Table of Contents 1 QinQ Configuration 1-1

H3C S5120-EI Switch Series

IGMP Snooping. About Cisco APIC and IGMP Snooping. How IGMP Snooping is Implemented in the ACI Fabric. This chapter contains the following sections:

HP 6125 Blade Switch Series

H3C S10500 Switch Series

Configuring Private VLANs Using NX-OS

Routing Between VLANs Overview

HP 5500 EI & 5500 SI Switch Series

Configuring basic MBGP

Configuring Flex Links and the MAC Address-Table Move Update Feature

NOTE: The S9500E switch series supports HDLC encapsulation only on POS interfaces. Enabling HDLC encapsulation on an interface

HP 5500 HI Switch Series

OTV Technology Introduction and Deployment Considerations

H3C S9800 Switch Series

Customizing IGMP. Finding Feature Information. Last Updated: December 16, 2011

FiberstoreOS IPv6 Multicast Configuration Guide

Configuring Flex Links and the MAC Address-Table Move Update Feature

Contents. Configuring LLDP 2

T e c h n i c a l D o c u m e n t. Cisco 2960G, 2960S, and 2960X Configuration for WheatNet-IP

Configuring ARP attack protection 1

H3C S3100V2-52TP Switch

H3C S5120-EI Switch Series

Constraining IP Multicast in a Switched Ethernet Network

Configuring VLANs. Understanding VLANs CHAPTER

HPE FlexNetwork 7500 Switch Series

Transcription:

Table of Contents Table of Contents... 1-1 1.1 Multicast VLAN Overview... 1-1 1.2 Configuring Multicast VLAN... 1-1 1.3 Multicast VLAN Configuration Examples... 1-2 1.4 Introduction to Multicast VLAN PLUS... 1-4 1.5 Configuring Multicast VLAN PLUS... 1-5 1.5.1 Configuration Prerequisites... 1-5 1.5.2 Configuring Multicast VLAN PLUS... 1-5 1.6 Multicast VLAN PLUS Configuration Examples... 1-6 1.7 Disabling Layer 3 Multicast... 1-8 i

When configuring IGMP Snooping, go to the following sections for the information you are interested in: Multicast VLAN Overview Configuring Multicast VLAN Multicast VLAN Configuration Examples Introduction to Multicast VLAN PLUS Configuring Multicast VLAN PLUS Multicast VLAN PLUS Configuration Examples Disabling Layer 3 Multicast 1.1 Multicast VLAN Overview Based on the traditional multicast on demand mode, when users in different VLANs request the service, multicast flow is duplicated in each VLAN and thus a great deal of bandwidth is wasted. To solve this problem, we provide the multicast VLAN feature. With this feature, you can add switch ports to a multicast VLAN and enable IGMP Snooping to allow users in different VLANs to share the same multicast VLAN. In this way, multicast flow is transmitted in one multicast VLAN instead of multiple user VLANs and bandwidth is greatly saved. As multicast VLAN is isolated from user VLANs, this guarantees both security and enough bandwidth. After you configure the multicast VLAN, multicast information flow can be transmitted to users continuously. 1.2 Configuring Multicast VLAN Multicast VLAN is based on Layer 2 multicast. Follow these steps to configure multicast VLAN: To do Use the command Remarks Enter system view system-view Enable IGMP Snooping in system view igmp-snooping enable Enter VLAN view vlan vlan-id Enable IGMP Snooping in VLAN view igmp-snooping enable Enable multicast VLAN service-type multicast Quit VLAN view quit Enter Ethernet port view interface interface-type interface-number 1-1

To do Use the command Remarks Define the port type to hybrid port link-type hybrid Add the port to corresponding VLANs port hybrid vlan vlan-id-list untagged Note: A port can belong to only one multicast VLAN. A port connected to user terminals must be a hybrid port that untags multicast VLAN packets. The system supports up to three multicast VLANs. 1.3 Multicast VLAN Configuration Examples I. Network requirements Switch A (a Layer 3 device) connects to the multicast workstation through Ethernet 1/1/1 in VLAN 2, and the IP address of VLAN-interface 2 is 168.10.1.1/24. Switch A connects to Switch B through Ethernet 1/1/10 in VLAN 10, and the IP address of VLAN-interface 10 is 168.20.1.1/24. Switch B connects to two multicast receiver hosts in VLAN 2 and VLAN 3 respectively. It is required to configure VLAN 10 as a multicast VLAN, so that multicast traffic is delivered to the two receivers through multicast VLAN 10. II. Network diagram Eth1/1/1 WorkStation Switch A Eth1/1/10 Switch B Eth1/1/10 Eth1/1/1 Eth1/1/2 Receiver VLAN 2 Receiver VLAN 3 Figure 1-1 Network diagram for multicast VLAN configuration 1-2

III. Configuration procedure 1) Configure Switch A # Configure the IP address of VLAN-interface 2 as 168.10.1.1/24. Enable the PIM-DM protocol. <SwitchA> system-view System View: return to User View with Ctrl+Z. [SwitchA] multicast routing-enable [SwitchA] vlan 2 [SwitchA-vlan2] port interface ethernet1/1/1 [SwitchA-vlan2] quit [SwitchA] interface vlan-interface 2 [SwitchA-Vlan-interface2] ip address 168.10.1.1 255.255.255.0 [SwitchA-Vlan-interface2] pim dm [SwitchA-Vlan-interface2] quit # Configure the IP address of VLAN-interface 10 as 168.20.1.1/24. Enable the PIM-DM and IGMP protocols. [SwitchA] vlan 10 [SwitchA-vlan10] quit [SwitchA] interface vlan-interface 10 [SwitchA-Vlan-interface10] ip address 168.20.1.1 255.255.255.0 [SwitchA-Vlan-interface10] pim dm [SwitchA-Vlan-interface10] igmp enable [SwitchA-Vlan-interface10] quit # Define Ethernet 1/1/10 as a trunk port and add this port to VLAN 10. [SwitchA] interface ethernet1/1/10 [SwitchA-Ethernet1/1/10] port link-type trunk [SwitchA-Ethernet1/1/10] port trunk permit vlan 10 2) Configure Switch B # Enable IGMP Snooping. <SwitchB> system-view System View: return to User View with Ctrl+Z. [SwitchB] igmp-snooping enable # Enable IGMP-Snooping on VLAN 2 and VLAN 3. [SwitchB] vlan 2 [SwitchB-vlan2] igmp-snooping enable [SwitchB-vlan2] quit [SwitchB] vlan 3 [SwitchB-vlan3] igmp-snooping enable [SwitchB-vlan3] quit 1-3

# Configure VLAN 10 as multicast VLAN. Enable IGMP Snooping. [SwitchB] vlan 10 [SwitchB-vlan10] igmp-snooping enable [SwitchB-vlan10] service-type multicast [SwitchB-vlan10] quit # Define Ethernet 1/1/10 as a trunk port and add the port to VLAN 10. [SwitchB] interface ethernet 1/1/10 [SwitchB-Ethernet 1/1/10] port link-type trunk [SwitchB-Ethernet 1/1/10] port trunk permit vlan 10 [SwitchB-Ethernet 1/1/10] quit # Define Ethernet 1/1/1 as a hybrid port. Add the port to VLAN 2 and VLAN 10. Configure the port to untag the packets of VLAN 2 and VLAN 10. Set the default VLAN ID of the port to VLAN 2. [SwitchB] interface ethernet 1/1/1 [SwitchB-Ethernet 1/1/1] port link-type hybrid [SwitchB-Ethernet 1/1/1] port hybrid vlan 2 10 untagged [SwitchB-Ethernet 1/1/1] port hybrid pvid vlan 2 [SwitchB-Ethernet 1/1/1] quit # Define Ethernet 1/1/2 as a hybrid port. Add the port to VLAN 3 and VLAN 10. Configure the port to untag the packets of VLAN 3 and VLAN 10. Set the default VLAN ID of the port to VLAN 3. [SwitchB] interface ethernet 1/1/2 [SwitchB-Ethernet 1/1/2] port link-type hybrid [SwitchB-Ethernet 1/1/2] port hybrid vlan 3 10 untagged [SwitchB-Ethernet 1/1/2] port hybrid pvid vlan 3 [SwitchB-Ethernet 1/1/2] quit 1.4 Introduction to Multicast VLAN PLUS Note: Multicast VLAN and multicast VLAN PLUS are different features. Based on Layer 2 multicast protocol configuration, multicast VLAN PLUS is a technique that forwards multicast packets by leveraging the Layer 3 multicast forwarding table. Multicast switches serving as residential access devices must support Layer 3 multicast. However, the configuration of Layer 3 multicast on current devices is sophisticated and can be implemented only by special professionals. 1-4

To address this situation, the multicast VLAN PLUS feature was developed, which provides a user interface for Layer 2 multicast configuration while supporting Layer 3 multicast forwarding. After multicast VLAN PLUS is enabled, the upstream device sends data only to the multicast VLAN, without replicating the multicast data for each VLAN. The multicast VLAN PLUS enabled switch replicates data of the users in the multicast sub-vlans. 1.5 Configuring Multicast VLAN PLUS Note: Unless otherwise specified, the multicast VLAN feature mentioned in this section refers to multicast VLAN PLUS. 1.5.1 Configuration Prerequisites Before configuring multicast VLAN PLUS, you must enable IGMP Snooping first. 1.5.2 Configuring Multicast VLAN PLUS Follow these steps to configure multicast VLAN PLUS: To do... Use the command Remarks Enter system view system-view Enable IGMP snooping igmp-snooping enable Enter VLAN view vlan vlan-id Configure the VLAN as a multicast VLAN Enable IGMP snooping in the multicast VLAN multicast-vlan enable igmp-snooping enable Return to system view quit Configure a VLAN as a sub-vlan of a multicast VLAN multicast-vlan vlan-id subvlan vlan-id Enter VLAN view vlan vlan-id Enable IGMP snooping in the sub-vlan igmp-snooping enable 1-5

Note: A multicast VLAN interconnects with Layer 3 devices. Sub-VLANs are connected with users. The device supports up to five multicast VLANs. The device supports up to 64 sub-vlans for a multicast VLAN. Layer-3 multicast protocols must not be configured in multicast VLANs or sub-vlans. VLANs with layer-3 multicast protocols enabled cannot be configured as multicast VLANs or sub-vlans. A multicast VLAN cannot be a sub-vlan. A sub-vlan belongs to only one multicast VLAN at the same time. Before configuring a multicast sub-vlan, you must configure the corresponding multicast VLAN. Configure a multicast VLAN before enabling IGMP Snooping. With multicast VLAN PLUS enabled, you need to configure a querier only in the multicast VLAN and not in sub-vlans. The querier configured in a sub-vlan does not send general queries. But after the sub-vlan becomes a normal VLAN or multicast VLAN, the configured querier sends general queries. 1.6 Multicast VLAN PLUS Configuration Examples I. Network requirements Switch A (a Layer 3 device) connects to the multicast workstation through Ethernet 1/1/1 in VLAN 2, and the IP address of VLAN-interface 2 is 168.10.1.1/24. Switch A connects to Switch B through Ethernet 1/1/10 in VLAN 10, and the IP address of VLAN-interface 10 is 168.20.1.1/24. Switch B connects to two multicast receiver hosts in VLAN 20 and VLAN 30 respectively. It is required to configure the multicast VLAN PLUS, so that multicast traffic is delivered to the two receivers through multicast VLAN 10. 1-6

II. Network diagram Eth1/1/1 WorkStation Switch A Eth1/1/10 Switch B Eth1/1/10 Eth1/1/1 Eth1/1/2 Receiver VLAN 20 Receiver VLAN 30 Figure 1-2 Network diagram for multicast VLAN PLUS configuration III. Configuration procedure 1) Configure Switch A. # Configure the IP address of VLAN-interface 2 as 168.10.1.1/24 and enable PIM-DM. <SwitchA> system-view System View: return to User View with Ctrl+Z. [SwitchA] multicast routing-enable [SwitchA] vlan 2 [SwitchA-vlan2] port interface ethernet1/1/1 [SwitchA-vlan2] quit [SwitchA] interface vlan-interface 2 [SwitchA-Vlan-interface2] ip address 168.10.1.1 255.255.255.0 [SwitchA-Vlan-interface2] pim dm [SwitchA-Vlan-interface2] quit # Configure the IP address of VLAN-interface 10 as 168.20.1.1/24, and enable PIM-DM and IGMP. [SwitchA] vlan 10 [SwitchA-vlan10] quit [SwitchA] interface vlan-interface 10 [SwitchA-Vlan-interface10] ip address 168.20.1.1 255.255.255.0 [SwitchA-Vlan-interface10] pim dm [SwitchA-Vlan-interface10] igmp enable [SwitchA-Vlan-interface10] quit # Add Ethernet 1/1/10 to VLAN 10. [SwitchA-vlan10] port interface ethernet1/1/10 2) Configure switch B. 1-7

# Enabling IGMP snooping. <SwitchB> system-view System View: return to User View with Ctrl+Z. [SwitchB] igmp-snooping enable [SwitchB] vlan 10 20 30 # Configure VLAN 10 as a multicast VLAN and enable IGMP Snooping. [SwitchB] vlan 10 [SwitchB-vlan10] multicast-vlan enable [SwitchB-vlan10] igmp-snooping enable [SwitchB-vlan10] quit # Add Ethernet 1/1/10 to VLAN 10. [SwitchB-vlan10] port interface ethernet1/1/10 # Enable IGMP Snooping in VLAN 20 and VLAN 30 respectively. [SwitchB] vlan 20 [SwitchB-vlan 20] igmp-snooping enable [SwitchB-vlan 20] quit [SwitchB] vlan 30 [SwitchB-vlan 30] igmp-snooping enable [SwitchB-vlan 30] quit # Configure VLAN 20 and VLAN 30 as sub-vlans of VLAN 10. [SwitchB] multicast-vlan 10 subvlan 20 30 # Add Ethernet 1/1/1 to VLAN 20 and add Ethernet 1/1/2 to VLAN 30. [SwitchB] vlan 20 [SwitchB-vlan 20] port interface ethernet1/1/1 [SwitchB-vlan 20]quit [SwitchB] vlan 30 [SwitchB-vlan 30] port interface ethernet1/1/2 1.7 Disabling Layer 3 Multicast For a switch, Layer 3 multicast is configured in VLAN interface view, so the configuration has effect on all the ports in this VLAN. But in some cases, you need to disable multicast in a specific VLAN on a specific port. For example, in a ring network with multicast VLAN PLUS enabled, inter-vlan forwarding is implemented by Layer 3 multicast. If a multicast VLAN is configured on two devices on the ring network, the same multicast stream is forwarded to the multicast sub-vlans on different devices. As a result, duplicate multicast streams will occur in the same ring. To avoid such redundant multicast streams, you can disable the multicast function in a VLAN on a specific port, so that a multicast stream can be flooded only in one multicast VLAN. Follow these steps to disable Layer-3 multicast on a port: 1-8

To do Use the command Remarks Enter system view system-view Enter Ethernet port view/rpr logical port view Disable layer-3 multicast in a VLAN on the current port interface interface-type interface-number l3multicast disable [ vlan vlan-id-list ] By default, whether this function is enabled depends on VLAN configuration. Caution: Boards with the suffix B or D and Type C boards with FE ports do not support vlan vlan-id-list in this command. The l3multicast disable command disables layer-3 multicast in all the VLANs on the current port. For aggregation ports, you need to synchronize configuration manually. This command does not check validity of VLANs. Even if the specified VLAN does not exist or the port does not belong to the specified VLAN, this command can be successfully configured. If you configure this command on a port of an XP4 board, this configuration takes effect also on neighboring ports (ports 1 and 2 are neighboring ports; and port 3 and 4 are neighboring ports). 1-9