05-IP Multicast Configuration Guide

HomeSupportConfigure & DeployConfiguration GuidesH3C Access Controllers Configuration Guides(E3703P61 R2509P61 R3709P61 R2609P61 R3509P61)-6W10205-IP Multicast Configuration Guide
04-IPv6 Multicast VLAN Configuration
Title Size Download
04-IPv6 Multicast VLAN Configuration 186.79 KB

Configuring IPv6 multicast VLANs

IPv6 multicast VLAN overview

Figure 1 shows the traditional IPv6 multicast programs-on-demand mode. When the hosts (Host A, Host B, and Host C) that belong to different VLANs require IPv6 multicast programs-on-demand service, the Layer 3 device (Router A) must forward a separate copy of the multicast traffic in each user VLAN to the Layer 2 device (AC). This results in not only waste of network bandwidth but also extra burden on the Layer 3 device.

Figure 1 Multicast transmission without the IPv6 multicast VLAN feature

 

The IPv6 multicast VLAN feature configured on the Layer 2 device is the solution to this issue. With the IPv6 multicast VLAN feature, the Layer 3 device needs to replicate the multicast traffic only in the IPv6 multicast VLAN instead of making a separate copy of the multicast traffic in each user VLAN. This saves network bandwidth and lessens the burden of the Layer 3 device.

The IPv6 multicast VLAN feature can be implemented in a port-based IPv6 multicast VLAN.

As shown in Figure 2, Host A, Host B and Host C are in three different user VLANs. All the user ports on the AC are hybrid ports. On the AC, configure VLAN 10 as an IPv6 multicast VLAN, assign all the user ports to VLAN 10, and enable MLD snooping in the IPv6 multicast VLAN and all user VLANs.

Figure 2 Port-based IPv6 multicast VLAN

 

After the configuration, if the AC receives an MLD message on a user port, it tags the message with the IPv6 multicast VLAN ID and relays it to the MLD querier, so that MLD snooping can uniformly manage the router ports and member ports in the IPv6 multicast VLAN. When Router A forwards multicast data to the AC, it sends only one copy of multicast data in the IPv6 multicast VLAN, and the AC distributes the data to all member ports in the IPv6 multicast VLAN.

Support for IPv6 multicast VLAN depends on the device model. For more information, see About the H3C Access Controllers Configuration Guides.

For more information about MLD snooping, router ports, and member ports, see "Configuring MLD snooping." For more information about VLAN tags, see Layer 2—LAN Switching Configuration Guide.

Port-based IPv6 multicast VLAN configuration task list

Configuration task

Remarks

Configuring user port attributes

Use either method.

Configuring IPv6 multicast VLAN ports

 

Configuration guidelines

·     When you configure a port-based IPv6 multicast VLAN, you must configure the attributes of each user port and then assign the ports to the IPv6 multicast VLAN.

·     A user port can be configured as a multicast VLAN interface only if it is an Ethernet port, a WLAN-ESS interface, or a Layer 2 aggregate interface.

·     The configurations made in Ethernet interface view, WLAN-ESS interface view, or Layer 2 aggregate interface view are effective only on the current interface. The configurations made in port group view are effective on all ports in the port group.

Configuration prerequisites

Before you configure a port-based IPv6 multicast VLAN, complete the following tasks:

·     Enable IPv6 forwarding.

·     Create VLANs as required.

·     Enable MLD snooping for the VLAN to be configured as an IPv6 multicast VLAN.

·     Enable MLD snooping for all user VLANs.

Configuring user port attributes

First, configure a user ports as a hybrid port to permit packets of the specified user VLAN to pass, and configure the user VLAN that the user port belongs to as the PVID.

Then, configure the user port to permit packets of the IPv6 multicast VLAN to pass and to untag the packets. After receiving multicast packets tagged with the IPv6 multicast VLAN ID from the upstream device, the Layer 2 device untags the multicast packets and forwards them to its downstream device.

To configure user port attributes:

 

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Enter Ethernet interface view or port group view.

·     Enter Ethernet interface view:
interface interface-type interface-number

·     Enter port group view:
port-group manual port-group-name

Use either command.

Configurations made in Ethernet interface view are effective only on the current port. Configurations made in port group view are effective on all ports in the current port group.

3.     Configure the user port link type as hybrid.

port link-type hybrid

By default, the user port link type is access.

4.     Specify the PVID for the hybrid port.

port hybrid pvid vlan vlan-id

By default, the PVID of a hybrid port is VLAN 1.

5.     Configure the hybrid port to permit packets of the specified IPv6 multicast VLAN to pass.

port hybrid vlan vlan-id-list { tagged | untagged }

By default, a hybrid port permits only packets of VLAN 1 to pass.

 

For more information about the port link-type, port hybrid pvid vlan, and port hybrid vlan commands, see Layer 2—LAN Switching Command Reference.

Configuring IPv6 multicast VLAN ports

In this method, configure a particular VLAN as an IPv6 multicast VLAN and assign user ports to this IPv6 multicast VLAN.

Configuration guidelines

·     You cannot configure an IPv6 multicast VLAN on a device with multicast routing enabled.

·     The VLAN to be configured as an IPv6 multicast VLAN must exist.

·     A port can belong to only one IPv6 multicast VLAN.

Configure IPv6 multicast VLAN ports in IPv6 multicast VLAN view

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Configure the specified VLAN as an IPv6 multicast VLAN.

multicast-vlan ipv6 vlan-id

By default, no IPv6 multicast VLAN is configured.

3.     Assign the port to the IPv6 multicast VLAN.

port interface-list

By default, an IPv6 multicast VLAN has no ports.

 

Configure IPv6 multicast VLAN ports in interface view or port group view

Step

Command

Remarks

1.     Enter system view.

system-view

N/A

2.     Configure the specified VLAN as an IPv6 multicast VLAN.

multicast-vlan ipv6 vlan-id

By default, a VLAN is not an IPv6 multicast VLAN.

3.     Return to system view.

quit

N/A

4.     Enter interface view or port group view.

·     Enter interface view:
interface interface-type interface-number

·     Enter port group view:
port-group manual port-group-name

Use either command.

5.     Assign the port to the IPv6 multicast VLAN.

port multicast-vlan ipv6 vlan-id

By default, a user port does not belong to any IPv6 multicast VLAN.

 

Displaying and maintaining an IPv6 multicast VLAN

Task

Command

Remarks

Display information about an IPv6 multicast VLAN.

display multicast-vlan ipv6 [ vlan-id ] [ | { begin | exclude | include } regular-expression ]

Available in any view.

 

IPv6 multicast VLAN configuration examples

This section provides examples of configuring IPv6 multicast VLAN.

Port-based multicast VLAN configuration example (for the WX5000 series/WX3500E series/WX5510E/WX2540E/WAC360 series)

Network requirements

As shown in Figure 3, MLDv1 runs on the Layer 3 device Router. MLDv1 snooping runs on AC. Router acts as the MLD querier.

AC's GigabitEthernet 1/0/1 belongs to VLAN 10. WLAN-ESS 1 is created on AC and configured as a hybrid port with VLAN 10 as the PVID. Packets of VLAN 2, VLAN 3, and VLAN 10 are allowed to pass WLAN-ESS 1. Configure the MAC-based VLAN feature so that Client A and Client B belong to VLAN 2 and VLAN 3, respectively.

The IPv6 multicast source sends IPv6 multicast data to IPv6 multicast group FF1E::101. Client A and Client B are receivers of this IPv6 multicast group.

Configure the port-based IPv6 multicast VLAN feature so that Router just sends IPv6 multicast data to AC through the IPv6 multicast VLAN and AC forwards the IPv6 multicast data to the receivers that belong to different user VLANs.

Figure 3 Network diagram

 

Configuration procedure

1.     Enable IPv6 forwarding on each device and configure the IPv6 address and address prefix length for each interface, as shown in Figure 3. (Details not shown.)

2.     On Router, enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on the host-side interface Ethernet 1/2.

<Router> system-view

[Router] multicast ipv6 routing-enable

[Router] interface ethernet 1/1

[Router-Ethernet1/1] pim ipv6 dm

[Router-Ethernet1/1] quit

[Router] interface ethernet 1/2

[Router-Ethernet1/2] pim ipv6 dm

[Router-Ethernet1/2] mld enable

[Router-Ethernet1/2] quit

3.     Configure the AC:

# Enable MLD snooping globally.

<AC> system-view

[AC] mld-snooping

[AC-mld-snooping] quit

# Create VLAN 10, assign GigabitEthernet 1/0/1 to VLAN 10, and enable MLD snooping in this VLAN.

[AC] vlan 10

[AC-vlan10] port GigabitEthernet1/0/1

[AC-vlan10] mld-snooping enable

[AC-vlan10] quit

# Create VLAN 2 and VLAN 3.

[AC] vlan 2

[AC-vlan2] vlan 3

[AC-vlan3] quit

# Create WLAN-ESS 1, configure it as a hybrid port, and configure VLAN 10 as the PVID.

[AC] interface WLAN-ESS 1

[AC-WLAN-ESS1] port link-type hybrid

[AC-WLAN-ESS1] port hybrid pvid vlan 10

# Assign WLAN-ESS 1 to VLAN 2, VLAN 3, and VLAN 10, and configure it to send packets from these VLANs without tags.

[AC-WLAN-ESS1] port hybrid vlan 2 3 10 untagged

# Enable the MAC-based VLAN feature on WLAN-ESS 1.

[AC-WLAN-ESS1] mac-vlan enable

# Associate the MAC addresses 6A-74-B3 and A6-5B-89 with VLAN 2 and VLAN 3, respectively so that Client A and Client B belong to VLAN 2 and VLAN 3, respectively.

[AC] mac-vlan mac-address 6A-74-B3 vlan 2

[AC] mac-vlan mac-address A6-5B-89 vlan 3

# Enable MLD snooping in VLAN 2 and VLAN 3.

[AC] vlan 2

[AC-vlan2] mld-snooping enable

[AC-vlan2] quit

[AC] vlan 3

[AC-vlan3] mld-snooping enable

[AC-vlan3] quit

# Configure VLAN 10 as an IPv6 multicast VLAN.

[AC] multicast-vlan ipv6 10

# Assign WLAN-ESS 1 to IPv6 multicast VLAN 10.

[AC-ipv6-mvlan-10] port WLAN-ESS 1

[AC-ipv6-mvlan-10] quit

Verifying the configuration

# Display the IPv6 multicast VLAN information on the AC.

[AC] display multicast-vlan ipv6

 Total 1 IPv6 multicast-vlan(s)

 

 IPv6 Multicast vlan 10

   port list:

    WLAN-ESS1

# Display the MLD snooping multicast group information on AC.

[AC] display mld-snooping group

  Total 1 IP Group(s).

  Total 1 IP Source(s).

  Total 1 MAC Group(s).

 

  Port flags: D-Dynamic port, S-Static port, C-Copy port, P-PIM port

  Subvlan flags: R-Real VLAN, C-Copy VLAN

  Vlan(id):10.

    Total 1 IP Group(s).

    Total 1 IP Source(s).

    Total 1 MAC Group(s).

    Router port(s):total 1 port(s).

            GE1/0/1                (D)

    IP group(s):the following ip group(s) match to one mac group.

      IP group address:FF1E::101

        (::, FF1E::101):

          Host port(s):total 1 port(s).

            WLAN-DBSS1:1              (D)

    MAC group(s):

      MAC group address:3333-0000-0101

          Host port(s):total 3 port(s).

            WLAN-DBSS1:1

The output shows that MLD snooping is maintaining router ports and member ports in VLAN 10.

Port-based multicast VLAN configuration example (for the WX6000 series)

Network requirements

As shown in Figure 4, MLDv1 runs on Router. MLDv1 snooping runs on AC. Router acts as the MLD querier.

AC's Ten-GigabitEthernet 2/0/1 belongs to VLAN 10, WLAN-ESS 1 is created on AC and configured as a hybrid port with VLAN 10 as the PVID. Packets of VLAN 2, VLAN 3, and VLAN 10 are allowed to pass WLAN-ESS 1. Configure the MAC-based VLAN feature so that Client A and Client B belong to VLAN 2 and VLAN 3, respectively.

The IPv6 multicast source sends IPv6 multicast data to IPv6 multicast group FF1E::101. Client A and Client B are receivers of this IPv6 multicast group.

Configure the port-based IPv6 multicast VLAN feature so that Router just sends IPv6 multicast data to AC through the IPv6 multicast VLAN and AC forwards the IPv6 multicast data to the receivers that belong to different user VLANs.

Figure 4 Network diagram

 

Configuration procedure

1.     Enable IPv6 forwarding on each device and configure the IPv6 address and prefix for each interface, as shown in Figure 4. (Details not shown.)

2.     On Router, enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on the host-side interface Ethernet 1/2.

<Router> system-view

[Router] multicast ipv6 routing-enable

[Router] interface ethernet 1/1

[Router-Ethernet1/1] pim ipv6 dm

[Router-Ethernet1/1] quit

[Router] interface ethernet 1/2

[Router-Ethernet1/2] pim ipv6 dm

[Router-Ethernet1/2] mld enable

[Router-Ethernet1/2] quit

3.     Configure the AC:

# Enable MLD snooping globally.

<AC> system-view

[AC] mld-snooping

[AC-mld-snooping] quit

# Create VLAN 10, assign Ten-GigabitEthernet 2/0/1 to VLAN 10, and enable MLD snooping in this VLAN.

[AC] vlan 10

[AC-vlan10] port Ten-GigabitEthernet 2/0/1

[AC-vlan10] mld-snooping enable

[AC-vlan10] quit

# Create VLAN 2 and VLAN 3.

[AC] vlan 2

[AC-vlan2] vlan 3

[AC-vlan3] quit

# Create WLAN-ESS 1, configure it as a hybrid port, and configure VLAN 10 as the PVID.

[AC] interface WLAN-ESS 1

[AC-WLAN-ESS1] port link-type hybrid

[AC-WLAN-ESS1] port hybrid pvid vlan 10

# Assign WLAN-ESS 1 to VLAN 2, VLAN 3, and VLAN 10, and configure it to send packets from these VLANs without tags.

[AC-WLAN-ESS1] port hybrid vlan 2 3 10 untagged

# Enable the MAC-based VLAN feature on WLAN-ESS 1.

[AC-WLAN-ESS1] mac-vlan enable

# Associate the MAC addresses 6A-74-B3 and A6-5B-89 with VLAN 2 and VLAN 3, respectively so that Client A and Client B belong to VLAN 2 and VLAN 3, respectively.

[AC] mac-vlan mac-address 6A-74-B3 vlan 2

[AC] mac-vlan mac-address A6-5B-89 vlan 3

# Enable MLD snooping in VLAN 2 and VLAN 3.

[AC] vlan 2

[AC-vlan2] mld-snooping enable

[AC-vlan2] quit

[AC] vlan 3

[AC-vlan3] mld-snooping enable

[AC-vlan3] quit

# Configure VLAN 10 as an IPv6 multicast VLAN.

[AC] multicast-vlan ipv6 10

# Assign WLAN-ESS 1 to IPv6 multicast VLAN 10.

[AC-ipv6-mvlan-10] port WLAN-ESS 1

[AC-ipv6-mvlan-10] quit

Verifying the configuration

# Display the IPv6 multicast VLAN information on the AC.

[AC] display multicast-vlan ipv6

 Total 1 IPv6 multicast-vlan(s)

 

 IPv6 Multicast vlan 10

   port list:

    WLAN-ESS1

# Display the MLD snooping multicast group information on AC.

[AC] display mld-snooping group

  Total 1 IP Group(s).

  Total 1 IP Source(s).

  Total 1 MAC Group(s).

 

  Port flags: D-Dynamic port, S-Static port, C-Copy port, P-PIM port

  Subvlan flags: R-Real VLAN, C-Copy VLAN

  Vlan(id):10.

    Total 1 IP Group(s).

    Total 1 IP Source(s).

    Total 1 MAC Group(s).

    Router port(s):total 1 port(s).

            XGE2/0/1                (D)

    IP group(s):the following ip group(s) match to one mac group.

      IP group address:FF1E::101

        (::, FF1E::101):

          Host port(s):total 1 port(s).

            WLAN-DBSS1:1              (D)

    MAC group(s):

      MAC group address:3333-0000-0101

          Host port(s):total 3 port(s).

            WLAN-DBSS1:1

The output shows that MLD snooping is maintaining router ports and member ports in VLAN 10.

Port-based multicast VLAN configuration example (for the WX5540E/WX3000E)

Network requirements

As shown in Figure 5, MLDv1 runs on Router. MLDv1 snooping runs on AC. Router acts as the MLD querier.

AC's GigabitEthernet 1/0/1 belongs to VLAN 10, WLAN-ESS 1 is created on AC and configured as a hybrid port with VLAN 10 as the PVID. Packets of VLAN 2, VLAN 3, and VLAN 10 are allowed to pass WLAN-ESS 1. Configure the MAC-based VLAN feature so that Client A and Client B belong to VLAN 2 and VLAN 3, respectively.

The IPv6 multicast source sends IPv6 multicast data to IPv6 multicast group FF1E::101. Client A and Client B are receivers of this IPv6 multicast group.

Configure the port-based IPv6 multicast VLAN feature so that Router just sends IPv6 multicast data to AC through the IPv6 multicast VLAN and AC forwards the IPv6 multicast data to the receivers that belong to different user VLANs.

Figure 5 Network diagram

 

Configuration procedure

1.     Enable IPv6 forwarding on each device and configure the IPv6 address and prefix length for each interface, as shown in Figure 5. (Details not shown.)

2.     Configure Router:

# Enable IPv6 multicast routing, enable IPv6 PIM-DM on each interface, and enable MLD on the host-side interface Ethernet 1/2.

<Router> system-view

[Router] multicast ipv6 routing-enable

[Router] interface ethernet 1/1

[Router-Ethernet1/1] pim ipv6 dm

[Router-Ethernet1/1] quit

[Router] interface ethernet 1/2

[Router-Ethernet1/2] pim ipv6 dm

[Router-Ethernet1/2] mld enable

[Router-Ethernet1/2] quit

3.     Configure the AC:

# Enable MLD snooping globally.

<AC> system-view

[AC] mld-snooping

[AC-mld-snooping] quit

# Create VLAN 10, assign GigabitEthernet 1/0/1 to VLAN 10, and enable MLD snooping in this VLAN.

[AC] vlan 10

[AC-vlan10] port gigabitethernet 1/0/1

[AC-vlan10] mld-snooping enable

[AC-vlan10] quit

# Create VLAN 2 and VLAN 3.

[AC] vlan 2

[AC-vlan2] vlan 3

[AC-vlan3] quit

# Create WLAN-ESS 1, configure it as a hybrid port, and configure VLAN 10 as the PVID.

[AC] interface WLAN-ESS 1

[AC-WLAN-ESS1] port link-type hybrid

[AC-WLAN-ESS1] port hybrid pvid vlan 10

# Assign WLAN-ESS 1 to VLAN 2, VLAN 3, and VLAN 10, and configure it to send packets from these VLANs without tags.

[AC-WLAN-ESS1] port hybrid vlan 2 3 10 untagged

# Enable the MAC-based VLAN feature on WLAN-ESS 1.

[AC-WLAN-ESS1] mac-vlan enable

# Associate the MAC addresses 6A-74-B3 and A6-5B-89 with VLAN 2 and VLAN 3, respectively so that Client A and Client B belong to VLAN 2 and VLAN 3, respectively.

[AC] mac-vlan mac-address 6A-74-B3 vlan 2

[AC] mac-vlan mac-address A6-5B-89 vlan 3

# Enable MLD snooping in VLAN 2 and VLAN 3.

[AC] vlan 2

[AC-vlan2] mld-snooping enable

[AC-vlan2] quit

[AC] vlan 3

[AC-vlan3] mld-snooping enable

[AC-vlan3] quit

# Configure VLAN 10 as an IPv6 multicast VLAN.

[AC] multicast-vlan ipv6 10

# Assign WLAN-ESS 1 to IPv6 multicast VLAN 10.

[AC-ipv6-mvlan-10] port WLAN-ESS 1

[AC-ipv6-mvlan-10] quit

Verifying the configuration

# Display the IPv6 multicast VLAN information on the AC.

[AC] display multicast-vlan ipv6

 Total 1 IPv6 multicast-vlan(s)

 

 IPv6 Multicast vlan 10

   port list:

    WLAN-ESS1

# Display the MLD snooping multicast group information on AC.

[AC] display mld-snooping group

  Total 1 IP Group(s).

  Total 1 IP Source(s).

  Total 1 MAC Group(s).

 

  Port flags: D-Dynamic port, S-Static port, C-Copy port, P-PIM port

  Subvlan flags: R-Real VLAN, C-Copy VLAN

  Vlan(id):10.

    Total 1 IP Group(s).

    Total 1 IP Source(s).

    Total 1 MAC Group(s).

    Router port(s):total 1 port(s).

            GE1/0/1                 (D)

    IP group(s):the following ip group(s) match to one mac group.

      IP group address:FF1E::101

        (::, FF1E::101):

          Host port(s):total 1 port(s).

            WLAN-DBSS1:1              (D)

    MAC group(s):

      MAC group address:3333-0000-0101

          Host port(s):total 3 port(s).

            WLAN-DBSS1:1

The output shows that MLD snooping is maintaining router ports and member ports in VLAN 10.

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网