< Home

mld-snooping send-query source-address

Function

The mld-snooping send-query source-address command sets the source IPv6 address of MLD General Query.

The undo mld-snooping send-query source-address command restores source IPv6 address of MLD General Query messages.

By default, the source IPv6 address of MLD General Query messages is FE80::.

Format

mld-snooping send-query source-address ipv6-address

undo mld-snooping send-query source-address

Parameters

Parameter

Description

Value

ipv6-address

Specifies the source IPv6 address of MLD General Query messages.

The address is a 32-digit hexadecimal number, in the format X:X:X:X:X:X:X:X, and the network prefix must be FE80::/64.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A Layer 2 device sends two types of MLD General Query messages:

  • MLD General Query messages sent by the querier when the querier function is enabled using the mld-snooping proxy or mld-snooping querier enable command.

  • MLD General Query messages that the Layer 2 device sends after receiving Layer 2 topology change events (configured using the mld-snooping send-query enable command).

By default, MLD General Query messages sent from a Layer 2 device use the source IPv6 address FE80::. When this IPv6 address is used by another device on the network, run the mld-snooping send-query source-address command to change the source IPv6 address of MLD General Query messages.

When multiple Layer 2 devices exist on a shared network, you can set source IPv6 addresses of MLD Query messages to identify the devices. For example, when multiple devices with different performance need to participate in querier election, you must configure a different source IPv6 address of MLD Query messages for each device.

Prerequisites

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

Example

# Set the source IPv6 address of MLD General Query messages to FE80::1.

<HUAWEI> system-view
[HUAWEI] mld-snooping enable
[HUAWEI] mld-snooping send-query source-address fe80::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >