igmp-snooping proxy-uplink-port (Layer 2 sub-interface view)

Function

The igmp-snooping proxy-uplink-port command configures an interface as an IGMP snooping proxy uplink interface. No IGMP Query message can be sent to this interface.

The undo igmp-snooping proxy-uplink-port command cancels the configuration.

By default, no IGMP snooping proxy uplink interface exists in a VLAN/VSI/BD.

Format

igmp-snooping proxy-uplink-port dot1q vid vidValue

igmp-snooping proxy-uplink-port qinq pe-vid pe-vidValue ce-vid ce-vidValue

Parameters

Parameter Description Value
qinq

Specifies an outer ID for a QinQ termination sub-interface.

-

pe-vid pe-vidValue

Specifies an outer ID for a QinQ termination sub-interface.

The value is an integer ranging from 1 to 4094.

ce-vid ce-vidValue

Specifies an inner ID for a QinQ termination sub-interface.

The value is an integer ranging from 1 to 4094.

dot1q

Specifies an ID for a Dot1q termination sub-interface.

-

vid vidValue

Specifies an ID for a Dot1q termination sub-interface.

The value is an integer ranging from 1 to 4094.

Views

400GE Layer 2 sub-interface view, 50GE Layer 2 sub-interface view, Eth-Trunk Layer 2 sub-interface view, GE Layer 2 sub-interface view, Layer 2 sub-interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2mc write

Usage Guidelines

Usage Scenario

After the IGMP snooping proxy or querier function is enabled on a Layer 2 device, the Layer 2 device broadcasts IGMP Query messages to all interfaces (including router interfaces) in a VLAN/VSI/BD periodically, which may trigger IGMP querier reelection. To prevent IGMP querier reelection, run the igmp-snooping proxy-uplink-port command on the router interface to disable the Layer 2 device from sending IGMP Query messages to the router interface in a VLAN/VSI/BD.

Prerequisites

IGMP snooping proxy has been enabled using the igmp-snooping proxy in the VLAN/VSI/BD view, or IGMP snooping querier has been enabled using the igmp-snooping querier enable command in the VLAN/VSI/BD view.

Precautions

Only one IGMP snooping proxy unlink interface can be configured in a VLAN/VSI/BD.

The igmp-snooping proxy-uplink-port command is only used on an uplink interface; therefore, the specified VLAN cannot be a user VLAN of a multicast VLAN.

For a VSI, the igmp-snooping proxy-uplink-port command can be only used on a VSI in LDP mode or the leaf node of a VSI in BGPAD mode.

Example

# Configure a Layer 2 sub-interface as an IGMP snooping proxy uplink interface in a BD.
<HUAWEI> system-view
[~HUAWEI] igmp-snooping enable
[*HUAWEI] bridge-domain 5
[*HUAWEI-bd5] quit
[*HUAWEI] interface ethernet0/1/17.1 mode l2
[*HUAWEI] encapsulation dot1q vid 1
[*HUAWEI-Ethernet0/1/17.1] rewrite pop single
[*HUAWEI-Ethernet0/1/17.1] bridge-domain 5
[*HUAWEI-Ethernet0/1/17.1] igmp-snooping proxy-uplink-port dot1q vid 1
# Configure a GE 0/1/1 in VLAN 10 as an IGMP snooping proxy uplink interface.
<HUAWEI> system-view
[~HUAWEI] igmp-snooping enable
[*HUAWEI] interface GigabitEthernet0/1/1
[*HUAWEI-GigabitEthernet0/1/1] igmp-snooping proxy-uplink-port vlan 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >