Summary of Contents for Huawei Quidway S2700 Series
Page 1
Quidway S2700 Series Ethernet Switches V100R006C00 Configuration Guide - Multicast Issue Date 2011-07-15 HUAWEI TECHNOLOGIES CO., LTD.
Page 2
All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast About This Document About This Document Intended Audience This document describes the multicast service supported by the S2700, including basic knowledge, protocol implementation, configuration procedures, and configuration examples. This document guides you through the configuration of the multicast service of the S2700.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast About This Document Command Conventions The command conventions that may be found in this document are defined as follows. Convention Description Boldface The keywords of a command line are in boldface.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration IGMP Snooping Configuration About This Chapter This chapter describes the procedure for configuring IGMP snooping and maintenance commands, and provides configuration examples. 1.1 IGMP Snooping Overview This section describes the functions and advantages of the IGMP snooping protocol.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration 1.1 IGMP Snooping Overview This section describes the functions and advantages of the IGMP snooping protocol. Internet Group Management Protocol Snooping (IGMP snooping) is a Layer 2 multicast protocol.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration IGMP Snooping Querier On a multicast network running IGMP, there should be a Layer 3 multicast device functioning as an IGMP querier to send IGMP Query messages and create and maintain multicast forwarding entries for normal multicast data forwarding.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration maintain the forwarding entries for the multicast packets. In this manner, the S2700 manages and controls forwarding of multicast data packets to implement Layer 2 multicast. Pre-configuration Tasks...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration The system view is displayed. Step 2 Run: igmp-snooping enable IGMP snooping is enabled globally. Step 3 Run: vlan vlan-id The VLAN view is displayed. Step 4 Run: igmp-snooping enable IGMP snooping is enabled in the VLAN.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration 1.3.4 (Optional) Configuring a Static Router Interface Context On a network whose topology seldom changes, if a host needs to receive certain multicast packets for a long time, you can configure the interface on the S2700 as a static router interface.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration The VLAN view is displayed. Run: undo igmp-snooping router-learning Dynamic learning of router interfaces is disabled in the VLAN. By default, a router interface can be dynamically learned.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration If vlan-id is specified, the maximum number of multicast groups that hosts attached to the interface in a specified VLAN can join is set. ----End 1.3.7 (Optional) Configuring IGMP Snooping Querier...
1.3.9 (Optional) Configuring Prompt Leave for Interfaces Prerequisite A basic ACL is configured to specify the IP multicast groups that hosts can leave. For the configuration of the ACL, see ACL Configuration in the Quidway S2700 Series Ethernet Switches Configuration Guide - Security. Context...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration When each interface in a VLAN is connected to only one host, you can enable prompt leave for interfaces in the VLAN. NOTE Prompt leave takes effect for interfaces in a VLAN only when the S2700 can process IGMPv2 or IGMPv3 messages.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration The S2700 enabled with IGMP snooping is configured to respond to changes of a Layer 2 network topology. NOTE The function of responding to changes of Layer 2 network topology is usually used on a ring network.
Page 19
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Step 3 Run: igmp-snooping suppress-time suppress-time The suppression duration of IGMP messages is set. By default, the suppression duration of IGMP messages is 10 seconds. NOTE For IGMP Report and Leave messages, it is recommended that you set the suppression duration the same as the maximum response time for these messages in a VLAN.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Step 9 Run: igmp-snooping send-query source-address ip-address The source address of the IGMP General Query message is configured. By default, the source address of the IGMP General Query message is 192.168.0.1. When 192.168.0.1 is used by other devices on the network, you can run the igmp-snooping send-...
Page 21
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Procedure Run the display igmp-snooping configuration command to check the configuration of IGMP snooping. Run the display igmp-snooping [ vlan vlan-id ] command to check the configuration of IGMP snooping in a VLAN.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration IGMP Suppress Time is set to default 10 seconds IGMP Querier Disable IGMP Router Port Learning Enable IGMP SSM-Mapping Disable When the dynamic interface learning is disabled, if you run the display igmp-snooping port- info [ vlan vlan-id ] [ group-address group-address ] [ verbose ] command, only the static entries are displayed.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Pre-configuration Tasks Before configuring static Layer 2 multicast in a VLAN, complete the following tasks: Connecting interfaces and configuring the physical parameters of each interface to make...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration The interface view is displayed. The interface can be an Ethernet interface, a GE interface, or an Eth-Trunk interface. Step 3 Run: port hybrid tagged vlan { { vlan-id1 [ to vlan-id2 ] }&<1-10> | all } The interface is added to VLANs.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Data Source addresses mapped to the multicast group addresses 1.5.2 (Optional) Configuring an SSM Group Policy Context If a user joins an ASM multicast group, you need to configure an SSM group policy in the VLAN to add the multicast group address to the range of SSM group addresses.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: igmp-snooping version 3 The version number of IGMP is set to 3.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration 1.6.2 Clearing Multicast Forwarding Entries Context CAUTION Running this command disables hosts in a VLAN from receiving certain multicast flows. The hosts in the VLAN receive the multicast flows again only after the S2700 receives IGMP Report messages from the hosts again and the forwarding entries are regenerated on the S2700.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Procedure Run the debugging igmp-snooping { all | aps | event | fwd | general | leave [ basic-acl- number ] | mvlan | packet [ advance-acl-number ] | query [ advance-acl-number ] | report [ advance-acl-number ] | syn | timer } command in the user view to enable debugging of IGMP snooping.
Page 31
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Create a VLAN and add interfaces to the VLAN. Enable IGMP snooping globally and in the VLAN. Configure a static router interface. Configure static multicast groups 225.1.1.1, 225.1.1.2, and 225.1.1.3.
Page 32
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Run the display igmp-snooping router-port vlan 3 command on the S2700. [Switch] display igmp-snooping router-port vlan 3 Port Name UpTime Expires Flags --------------------------------------------------------------------- VLAN 3, 1 router-port(s)
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration igmp-snooping static-router-port vlan 3 interface Ethernet0/0/2 port hybrid tagged vlan 3 l2-multicast static-group group-address 225.1.1.1 to 225.1.1.3 vlan 3 return 1.7.2 Example for Configuring IGMP Snooping SSM Mapping...
Page 34
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration Configure basic IGMP snooping functions so that users can receive multicast data from multicast sources. Configure an SSM group policy for IGMP snooping to add the ASM group addresses of users to the SSM group address range.
Page 35
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 1 IGMP Snooping Configuration [SwitchA-vlan10] igmp-snooping ssm-mapping enable [SwitchA-vlan10] igmp-snooping ssm-mapping 224.1.1.1 24 10.1.1.2 [SwitchA-vlan10] quit Step 6 Verify the configuration. # Run the display igmp-snooping vlan configuration command on Switch A. You can view IGMP snooping configurations in the VLAN.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 2 Multicast VLAN Replication Configuration Multicast VLAN Replication Configuration About This Chapter This chapter describes the procedure for configuring multicast VLAN replication and maintenance commands, and provides configuration examples. 2.1 Multicast VLAN Replication Overview After multicast VLAN replication is configured on a switch, the upstream router only needs to transmit multicast data to a multicast VLAN.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 2 Multicast VLAN Replication Configuration 2.1 Multicast VLAN Replication Overview After multicast VLAN replication is configured on a switch, the upstream router only needs to transmit multicast data to a multicast VLAN. This function saves bandwidth because the upstream router does not need to send a copy of multicast data to each user VLAN.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 2 Multicast VLAN Replication Configuration 2.3.1 Establishing the Configuration Task Applicable Environment In traditional multicast transmission mode, a router must copy multicast data for each user VLAN and send all copies to the downstream device when users in different VLANs request the program provided by the same multicast source.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 2 Multicast VLAN Replication Configuration Step 2 Run: vlan vlan-id A VLAN is created and the VLAN view is displayed. Step 3 Run: igmp-snooping enable IGMP snooping is enabled in the VLAN.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 2 Multicast VLAN Replication Configuration NOTE On the S2700EI, a user-side interface must be added to the multicast VLAN and user VLAN in the same mode. CAUTION If the network-side interface is added to a user VLAN, a traffic policy needs to be configured...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration Controllable Multicast Configuration About This Chapter This chapter describes the principle of controllable multicast and procedures for configuring controllable multicast. 3.1 Overview of Controllable Multicast 3.2 Basic Principle 3.3 Configuring Controllable Multicast...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration 3.1 Overview of Controllable Multicast NOTE The S2700SI does not support controllable multicast. Traditional multicast services are uncontrollable. Users running traditional multicast need to send IGMP Report messages to join related multicast groups, and then receive multicast packets of the groups.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration Multicast Group List A multicast group list is a set of multicast groups. A multicast group list can contain several multicast groups. For example, in Figure 3-1, multicast group list L1 contains G1, G2, G3, and G4.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration Data Name and IP address of a multicast group Name of a multicast list Name of a multicast profile IDs of the user VLANs that apply multicast profiles 3.3.2 Configuring a Multicast Group...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration The BTV view is displayed. Step 3 Run: multicast-list list-name A multicast group list is created and the view of the multicast group list is displayed. Step 4 Run: add multicast-group { name group-name | index start-index to end-index } A multicast group is added to the multicast group list.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: attach multicast-profile profile-name [ interface interface-type interface-number | mac-address mac-address ] The binding relationship is set between the VLAN and the multicast profile.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration Networking Requirements As shown in Figure 3-2, multicast group G1 (225.0.0.1), G2 (225.0.0.2), G3 (225.0.0.3), and G4 (225.0.0.4) exist in the network connected to the router. You are required to configure users in VLAN 1 and VLAN 2 to watch G1 and G2,and users in VLAN 3 and VLAN 4 to watch all multicast groups.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration Name of each multicast profile Configuration Procedure Configure user VLANs and add the interface to the user VLANs. The configuration details are not provided here. Configure IGMP snooping.
Page 54
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration Vlan-id Port SMAC Max-User Index Profile- name ------------------------------------------------------------------------------ Vlan1 Vlan2 Vlan3 Vlan4 Total: 4 [Switch-btv] display multicast-profile ----------------------------------------------------------------------------- Index Profile-Name Multicast-list Attach- User ----------------------------------------------------------------------------- Total: 2 [Switch-btv] display multicast-list...
Page 55
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 3 Controllable Multicast Configuration add multicast-group name G2 multicast-list add multicast-group name G3 add multicast-group name G4 multicast-profile multicast-list name L1 watch multicast-profile multicast-list name L1 watch multicast-list name L2 watch...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration MLD Snooping Configuration About This Chapter This chapter describes the implementation and configuration procedures of Multicast Listener Discovery (MLD) snooping on the S2700. 4.1 Overview of MLD Snooping When MLD snooping is enabled, the S2700 creates a Layer 2 forwarding table for multicast data packets by listening to MLD messages.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration 4.1 Overview of MLD Snooping When MLD snooping is enabled, the S2700 creates a Layer 2 forwarding table for multicast data packets by listening to MLD messages. In this manner, the S2700 manages and controls the forwarding of multicast data packets to ensure that these packets are sent only to the hosts that need the multicast data.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration Interval for sending the MLD Last Member Query messages. This timer helps the S2700 adapt to the change of load on the network. Duration for suppressing the Report messages. This timer saves network bandwidth and reduces loads on the network.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration Data Number of the static member interface to be configured, ID of the VLAN to which the interface is to be added, and multicast IPv6 address Number of the static router interface to be...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration MLD snooping is enabled in the VLAN. When MLD snooping is disabled in a VLAN by default. ----End 4.3.4 (Optional) Adding an Interface to a Multicast Group Statically Context To add an interface to a multicast group statically, do as follows on the S2700.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration Step 2 Run: interface interface-type interface-number The interface view is displayed. The interface can be an Ethernet interface, a GE interface or an Eth-Trunk interface. Step 3 Run: mld-snooping static-router-port vlan vlan-id The interface is configured as a static router interface.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration Step 4 Run the display mld-snooping router-port [ vlan vlan-id ] command to check information about the router interface in a VLAN. NOTE The display mld-snooping port-info command displays only the information about the static member interface or static router interface in Up state.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration The system view is displayed. Step 2 Run: vlan vlan-id The VLAN view is displayed. Step 3 Run: mld-snooping group-policy acl-number [ mld-version ] A multicast group policy is configured.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration Pre-configuration Tasks Before configuring the prompt leave function for interfaces in a VLAN, complete the following tasks: 4.3 Enabling MLD Snooping Creating an ACL6 Data Preparation To configure the prompt leave function for interfaces in a VLAN, you need the following data.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration If the configuration is successful, you can find that the prompt leave function is configured correctly in the VLAN. ----End 4.6 Configuring the MLD Snooping Querier This section describes how to configure the MLD snooping querier.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration The interval for sending the MLD Snooping General Query messages is set. Step 4 Run: mld-snooping max-response-time max-response-time The maximum response time of the MLD Snooping General Query messages is set.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration 4.7 (Optional) Modifying Parameters of MLD Snooping This section describes how to optimize the performance of MLD snooping by modifying MLD snooping parameters, including the aging time of the router interface, interval for sending Last...
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration Procedure (Optional) Duration for suppressing the same MLD messages (Optional) Number of MLD snooping entries that can be configured or learned 4.7.2 (Optional) Setting the Aging Time of the Router Interface Context To set the aging time of the router interface, do as follows on the S2700.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration The VLAN view is displayed. Step 3 Run: mld-snooping query-interval query-interval The interval for sending the General Query messages is set. The default value is 60 seconds.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration 4.7.5 (Optional) Setting the Duration for Suppressing the Same MLD Messages Context To set the duration for suppressing the MLD Report messages with the same content, do as follows on the S2700.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration 4.8 Maintaining MLD Snooping This section describes how to maintain MLD snooping. 4.8.1 Clearing MLD Snooping Entries Context CAUTION Use this command with caution. After the MLD snooping entries, that is, the dynamic forwarding entries, of a VLAN are deleted from the multicast forwarding table, the multicast flows sent to hosts in the VLAN are interrupted.
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration 4.8.3 Debugging MLD Snooping Context CAUTION Debugging affects the performance of the system. So, after debugging, run the undo debugging mld-snooping all command to disable it immediately.
Page 75
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration Figure 4-1 Networking diagram for configuring prompt leave of interfaces in a VLAN DHCP server multicast source IP/MPLS core Eth0/0/3 SwitchA Eth0/0/1 Eth0/0/2 VLAN 3 Host1 Host2...
Page 76
Quidway S2700 Series Ethernet Switches Configuration Guide - Multicast 4 MLD Snooping Configuration Step 5 Verify the configuration. Run the display mld-snooping command on Switch A. [SwitchA] display mld-snooping vlan 3 MLD Snooping Vlan Information for VLAN 3 MLD Snooping is Enable...