No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

ME60 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access 01

This is ME60 V800R010C10SPC500 Configuration Guide - LAN Access and MAN Access
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring Multicast Services on a VLAN Tag Termination Sub-interface

Configuring Multicast Services on a VLAN Tag Termination Sub-interface

With the wide use of multicast services on the Internet, you need to deploy sub-interfaces for QinQ/dot1q VLAN tag termination to process the user packets carrying a single tag or double tags for multicast services. In this manner, the UPE can maintain information about the outbound interface of multicast packets according to the established multicast forwarding table to ensure the normal communications between hosts and the multicast source.

Usage Scenario

On the network shown in Figure 9-11, both Layer 2 multicast and Layer 3 multicast are deployed.

  • Layer 2 multicast

    After being bound to a Virtual Switching Instance (VSI) and enabled with Internet Group Management Protocol (IGMP) snooping, the sub-interface for QinQ/dot1q VLAN tag termination can listen IGMP messages exchanged between the multicast device and hosts, and therefore can learn which interfaces have multicast receivers. In this case, multicast packets are transmitted on the Layer 2 network in multicast mode rather than broadcast mode, and consequently received only by members of the multicast group.

  • Layer 3 multicast

    Multicast protocol packets with double tags are sent from the UPE to the upper network. After the sub-interface for QinQ or dot1q VLAN tag termination is configured on the UPE, the UPE creates the forwarding table and the routing table. When receiving multicast protocol packets from hosts, the UPE can identify the packets and correctly forward the packets. Based on the established multicast forwarding table, the UPE can replicate and deliver multicast packets correctly.

    Here, Layer 3 multicast mainly refers to IGMP.

Figure 9-11 Networking diagram of the multicast service on termination sub-interfaces

Pre-configuration Task

Before configuring the sub-interface for VLAN tag termination to access the multicast service, complete the following tasks:

  • Ensuring that devices are correctly connected and that the physical interfaces of each device are in the Up state.

  • Configuring the correct VLANs of users to enable the packets received by the sub-interface for VLAN tag termination to carry one or double tags.

Configuration Procedures

Figure 9-12 Flowchart for configuring the sub-interface for VLAN tag termination to access the multicast service

Configuring a VLAN Tag Termination Sub-interface

A VLAN tag termination sub-interface can be a sub-interface for dot1q VLAN tag termination or a sub-interface for QinQ VLAN tag termination. In dot1q/QinQ termination, a device identifies whether a packet has one tag or two tags. The device then forwards the packet after stripping one or both tags or discards the packet.

Procedure

  • Configure the sub-interface for dot1q VLAN tag termination.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number.subinterface-number

      The view of an Ethernet sub-interface at the user-side of a PE is displayed.

    3. (Optional) Create a user VLAN group.

      1. Run vlan-group group-id

        A user VLAN group is created.

      2. Run group mode { single | multiple }

        The working mode of the VLAN group is configured.

        • single: A VLAN group is considered as a user. This means that you cannot collect statistics about QinQ packets or deploy quality of service (QoS) policies based on a VLAN or a VLAN range.
        • multiple: VLANs and VLAN ranges in a VLAN group are considered as different users. This means that you can collect statistics about QinQ packets or deploy QoS policies based on a VLAN or VLAN range to implement refined management.
      3. Run quit

        Return to the view of the Ethernet sub-interface at the user-side of the PE.

      NOTE:

      Configuring a VLAN group allows you to achieve the following purposes:

      • Deploy QoS policies based on services or users so that higher priority service traffic is preferentially forwarded, improving user experience.
      • View statistics about QinQ packets to check whether a device is functioning properly.
    4. Run control-vid vid dot1q-termination [ rt-protocol ] or encapsulation dot1q-termination [ rt-protocol ]

      The encapsulation type for a VLAN tag termination sub-interface is configured to be dot1q.

      Specify rt-protocol so that the sub-interface for dot1q VLAN tag termination supports routing protocols.

    5. Run dot1q termination vid low-pe-vid [ to high-pe-vid ] [ vlan-group group-id ]

      The VLAN tag termination function is configured for the sub-interface for dot1q VLAN tag termination.

      After you specify rt-protocol, the sub-interface for dot1q VLAN tag termination terminates packets carrying a fixed-value VLAN tag.

    6. Run commit

      The configuration is committed.

  • Configure the sub-interface for QinQ VLAN tag termination.

    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number.subinterface-number

      The view of an Ethernet sub-interface at the user-side of a PE is displayed.

    3. (Optional) Create a user VLAN group.

      1. Run vlan-group group-id

        A user VLAN group is created.

      2. Run group mode { single | multiple }

        The working mode of the VLAN group is configured.

        • single: A VLAN group is considered as a user. This means that you cannot collect statistics about QinQ packets or deploy quality of service (QoS) policies based on a VLAN or a VLAN range.
        • multiple: VLANs and VLAN ranges in a VLAN group are considered as different users. This means that you can collect statistics about QinQ packets or deploy QoS policies based on a VLAN or VLAN range to implement refined management.
      3. Run quit

        Return to the view of the Ethernet sub-interface at the user-side of the PE.

      NOTE:

      Configuring a VLAN group allows you to achieve the following purposes:

      • Deploy QoS policies based on services or users so that higher priority service traffic is preferentially forwarded, improving user experience.
      • View statistics about QinQ packets to check whether a device is functioning properly.
    4. Run control-vid vid qinq-termination [ local-switch | rt-protocol ] or encapsulation qinq-termination [ local-switch | rt-protocol ]

      The encapsulation type for a VLAN tag termination sub-interface is configured to be QinQ.

      • Specify local-switch so that the sub-interface for QinQ VLAN tag termination supports local switching.

      • Specify rt-protocol so that the sub-interface for QinQ VLAN tag termination supports routing protocols.

    5. Run qinq termination pe-vid pe-vid [ to high-pe-vid ] ce-vid ce-vid [ to high-ce-vid ] [ vlan-group group-id ]

      The VLAN tag termination function is configured for the sub-interface for QinQ VLAN tag termination.

      After you specify rt-protocol, the sub-interface for QinQ VLAN tag termination terminates packets carrying two fixed-value VLAN tags.

    6. Run commit

      The configuration is committed.

Configuring Multicast Services

After a dot1q or QinQ termination sub-interface is configured, configure multicast services for the sub-interface so user hosts of this sub-interface can communicate with multicast sources.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run interface interface-type interface-number.subinterface-number

    The dot1q or QinQ termination sub-interface view is displayed.

  3. Perform the actions described in Table 9-13 to configure the multicast service for the dot1q or QinQ termination sub-interface.

    Table 9-13 Configuring the multicast service for a dot1q or QinQ termination sub-interface

    Service Type

    Action

    Remarks

    Layer 2 multicast

    Run the igmp-snooping static-router-port vsi vsi-name command to configure the dot1q or QinQ termination sub-interface as a static router interface for a virtual switching instance (VSI).

    The VSI specified in the command must have been bound to the dot1q or QinQ VLAN tag termination.

    Configure the dot1q or QinQ termination sub-interface as a static multicast member interface for a VSI:
    • In the dot1q termination sub-interface view, run the l2-multicast static-group [ source-address source-address-ip-address ] group-address group-address dot1q vid vid vsi vsi-name command.

    • In the QinQ termination sub-interface view, run the l2-multicast static-group [ source-address source-address-ip-address ] group-address group-address qinq pe-vid pe-vid ce-vid ce-id vsi vsi-name command.

    The VSI specified in the command must have been bound to the dot1q or QinQ VLAN tag termination.

    Run the igmp-snooping group-policy { acl-number | acl-name acl-name } [ version number ] { qinq pe-vid pe-vid ce-vid ce-id1 [ to ce-id2 ] | dot1q vid vid1 [ to vid2 ] } command to configure the range of multicast groups that hosts can join.

    -

    Layer 3 multicast

    Run the igmp static-group group-address [ inc-step-mask { group-mask | group-mask-length } number group-number ] [ source source-address ] { qinq pe-vid pe-vid ce-vid low-ce-vid [ to high-ce-vid ] | dot1q vid low-pe-vid [ to high-pe-vid ] } command to add the dot1q or QinQ termination sub-interface to a specific multicast group or multiple multicast groups in batches.

    The static group with tag parameters can be configured only on the sub-interface for QinQ VLAN tag termination or the sub-interface for dot1q VLAN tag termination.

  4. Run commit

    The configuration is committed.

Verifying the Multicast Service Configuration on the VLAN Tag Termination Sub-interface

After configuring multicast services on a dot1q or QinQ termination sub-interface, verify the configuration.

Prerequisites

The multicast services have been configured for a dot1q or QinQ termination sub-interface.

Procedure

  • Run the display dot1q information termination [ interface interface-type interface-number [ .subinterface-number ] ] command to check information about the dot1q termination sub-interface.
  • Run the display qinq information termination [ interface interface-type interface-number [ .subinterface-number ] ] command to check information about the QinQ termination sub-interface.
  • Run the display igmp-snooping querier { vsi vsi-name | vlan vlan-id } command to check whether an IGMP querier has been configured successfully.
  • Run the display igmp-snooping router-port { vsi vsi-name | vlan vlan-id } command to check whether a static router interface has been configured successfully.
  • Run the display igmp-snooping port-info [ { vlan vlan-id | vsi vsi-name | slot slot-id } [ group-address group-address ] ] [ verbose ] command to check information about Layer 2 multicast interfaces.
  • Run the display igmp [ vpn-instance vpn-instance-name | all-instance ] interface [ interface-type interface-number ] [ verbose ] command to check IGMP configurations on an interface.
  • Run the display igmp [ vpn-instance vpn-instance-name | all-instance ] group [ group-address | interface interface-type interface-number ] [ verbose ] command to check information about IGMP multicast groups.

Example

Run the display dot1q information termination command to view information about a specific dot1q termination sub-interface.
<HUAWEI> display dot1q information termination interface gigabitethernet 2/0/21.2
  GigabitEthernet 1/0/1.2
    L3VPN bound
    Total QinQ Num: 2
      dot1q termination vid 10
      dot1q termination vid 20 to 50 vlan-group 3
    Total vlan-group Num: 1
      vlan-group 3
    control-vid 1 dot1q-termination
Run the display qinq information termination command to view information about a specific QinQ termination sub-interface.
<HUAWEI> display qinq information termination interface gigabitethernet 2/0/21.1
  GigabitEthernet 1/0/1.1
    VSI bound
    Total QinQ Num: 2
      qinq termination pe-vid 10 ce-vid 10
      qinq termination pe-vid 20 to 30 ce-vid 40 to 50 vlan-group 2
    Total vlan-group Num: 1
      vlan-group 2
    control-vid 1 qinq-termination
View the following information after Layer 2 multicast is configured successfully:
  • Run the display igmp-snooping querier vsi command to view whether a querier is configured successfully for a VSI. If Querier-state is Enable, a querier is enabled for the VSI.

    <HUAWEI> display igmp-snooping querier vsi v123
    VSI                             Querier-state
    -----------------------------------------------
    v123                               Enable
    -----------------------------------------------
  • Run the display igmp-snooping router-port vsi command to view whether a static router interface is configured successfully for a VSI. If Flags is STATIC, a static router interface is configured successfully for the VSI.

    <HUAWEI> display igmp-snooping router-port vsi v123
     Port Name                       UpTime          Expires       Flags
     ---------------------------------------------------------------------
     VSI v123, 1 router-port(s)
     GE1/0/1.1                     00:01:48             --      STATIC
  • Run the display igmp-snooping port-info command to view information about Layer 2 multicast interfaces, including static member interfaces, dynamic member interfaces, and SSM mapping interfaces.

    <HUAWEI> display igmp-snooping port-info
     -----------------------------------------------------------------------------------
      Flag: S:Static     D:Dynamic     M:Ssm-mapping
            A:Active     P:Protocol    F:Fast-channel                                
                        (Source, Group)  Port                                      Flag
     -----------------------------------------------------------------------
     VSI v123, 1 Entry(s)
                    (1.1.1.1, 234.1.1.1)  GE1/0/2.2(PE:20/CE:100)       -D-
                                                        1 port(s)
     -----------------------------------------------------------------------
View the following information after Layer 3 multicast is configured successfully:
  • Run the display igmp group command to view information about multicast groups.

    <HUAWEI> display igmp group
    Interface group report information of VPN-Instance: public net
     GigabitGigabitethernet1/0/1.1(1.1.1.9):
      Total 1 IGMP Group reported
       Group Address   Last Reporter   Uptime      Expires
       226.0.0.1       192.168.0.1     00:00:03    --  
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059440

Views: 27376

Downloads: 18

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next