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.
igmp-snooping proxy-uplink-port dot1q vid vidValue vsi vsi-name
igmp-snooping proxy-uplink-port qinq pe-vid pe-vidValue ce-vid ce-vidValue vsi vsi-name
undo igmp-snooping proxy-uplink-port dot1q vid vidValue vsi vsi-name
undo igmp-snooping proxy-uplink-port qinq pe-vid pe-vidValue ce-vid ce-vidValue vsi vsi-name
Parameter | Description | Value |
---|---|---|
vsi vsi-name | Specifies the name of a VSI. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
qinq | Specifies an 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. |
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.<HUAWEI> system-view [~HUAWEI] igmp-snooping enable [*HUAWEI] interface GigabitEthernet0/1/1 [*HUAWEI-GigabitEthernet0/1/1] igmp-snooping proxy-uplink-port vlan 10
<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