< Home

igmp-snooping router-learning

Function

The igmp-snooping router-learning command enables router port learning in a VSI.

The undo igmp-snooping router-learning command disables router port learning in a VSI.

By default, router port learning is enabled in a VSI.

Format

igmp-snooping router-learning

undo igmp-snooping router-learning

Parameters

None

Views

VSI view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

A switch running IGMP snooping considers an interface as a dynamic router port when the interface receives an IGMP General Query message with any source IP address except 0.0.0.0. Router ports are configured to guide forwarding of IGMP Report/Leave messages. To prevent interfaces in a VSI from becoming a router port, disable router port learning in the VSI.

Prerequisites

IGMP snooping has been enabled for VPLS using the igmp-snooping over-vpls enable command in the system view.

Follow-up Procedure

The switch does not listen on IGMP Query messages in a VSI after router port learning is disabled in the VSI. Therefore, run the igmp-snooping static-router-port command to configure a static router port.

Precautions

The configuration takes effect only when IGMP snooping is enabled in the VSI using the igmp-snooping enable (VSI view) command.

Example

# Disable router port learning in VSI company1.

<HUAWEI> system-view
[HUAWEI] igmp-snooping enable
[HUAWEI] igmp-snooping over-vpls enable
[HUAWEI] vsi company1
[HUAWEI-vsi-company1] igmp-snooping enable
[HUAWEI-vsi-company1] undo igmp-snooping router-learning
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >