< Home

mld-snooping static-group

Function

The mld-snooping static-group command configures static IPv6 group memberships on an interface.

The undo mld-snooping static-group command deletes the static IPv6 group memberships on an interface.

By default, no static IPv6 group membership is configured on an interface.

Format

mld-snooping static-group group-ipv6-address [ source source-ipv6-address ] vlan vlan-id

undo mld-snooping static-group { group-ipv6-address [ source source-ipv6-address ] vlan vlan-id | all }

Parameters

Parameter

Description

Value

group-ipv6-address

Specifies the IPv6 address of a multicast group.

The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X. An IPv6 multicast address starts with FF.

source source-ipv6-address

Specifies the IPv6 address of a multicast source.

The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X.

vlan vlan-id

Specifies a VLAN ID.

The value is an integer that ranges from 1 to 4094.

all

Deletes all static group memberships from an interface.

-

Views

MultiGE interface view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

In addition to dynamic multicast forwarding entries generated by Layer 2 multicast protocol, you can configure static Layer 2 multicast forwarding entries by binding interfaces to multicast groups. After an interface is statically bound to a multicast group, users connected to this interface can keep receiving multicast data of the multicast group for a long time. The interface then becomes a static member interface.

Configuring static member interfaces has the following advantages:

  • Protects the system against attacks from protocol packets.
  • Reduces the network delay by directly forwarding multicast packets based on static forwarding entries.
  • Prevents unregistered users from receiving multicast flows, improving information security and protecting service providers' interests.

Prerequisites

MLD snooping has been enabled globally using the mld-snooping enable command.

Precautions

The configuration takes effect only when both the following conditions are met:
  • MLD snooping is enabled in the specified VLAN using the mld-snooping enable command.
  • The specified VLAN has been created and the interface has been added to the VLAN.

Multicast group addresses starting with FFx1 or FFx2 (x is any value) cannot be configured as static multicast group addresses.

If a device is configured to forward Layer 2 multicast traffic on a network configured with MUX VLAN using the multicast-snooping mux-vlan enable command, the VLAN specified in the mld-snooping static-group command must not be a MUX VLAN (include principal VLAN and subordinate VLAN).

Example

# Statically bind GE0/0/1 in VLAN 2 to multicast group ff1a::1.

<HUAWEI> system-view
[HUAWEI] mld-snooping enable
[HUAWEI] interface gigabitethernet 0/0/1
[HUAWEI-GigabitEthernet0/0/1] port link-type trunk
[HUAWEI-GigabitEthernet0/0/1] port trunk allow-pass vlan 2
[HUAWEI-GigabitEthernet0/0/1] mld-snooping static-group ff1a::1 vlan 2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >