The igmp-snooping static-router-port command configures an AC-side interface in a VSI as a static router port.
The undo igmp-snooping static-router-port command deletes the static router port configuration.
By default, no AC-side interface in a VSI is configured as a static router port.
igmp-snooping static-router-port vsi vsi-name
undo igmp-snooping static-router-port vsi vsi-name
Parameter |
Description |
Value |
---|---|---|
vsi vsi-name |
Specifies the VSI to which a static router port belongs. |
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. |
GE interface view, 100GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, Eth-Trunk interface view
Usage Scenario
To allow the interface connected to an upstream router to keep receiving or forwarding IGMP Report/Leave packets for a long time, configure the interface as a static router port.
Prerequisites
IGMP snooping has been enabled globally using the igmp-snooping enable (system view) command.
Precautions
The configuration takes effect only when IGMP snooping is enabled in the VSI using the igmp-snooping enable (VSI view) command.
Interfaces on a VPLS network include PW-side interfaces and AC-side interfaces. This command configures an AC-side interface as a static router port. To configure a PW-side interface as a static router port, run the igmp-snooping static-router-port (VSI view) command.
On a VPLS network, ACs can be set up on different types of interfaces. The method to configure an AC-side interface as a static router port varies according to the type of the AC-side interface:
# Configure GE0/0/1 as a static router port in the VSI company1. (GE0/0/1 has been bound to the VSI company1. IGMP snooping has been enabled globally and in the VSI company1.)
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] igmp-snooping static-router-port vsi company1