< Home

igmp-snooping static-router-port (interface view)

Function

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.

Format

igmp-snooping static-router-port vsi vsi-name

undo igmp-snooping static-router-port vsi vsi-name

Parameters

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.

Views

GE interface view, 100GE interface view, XGE interface view, MultiGE interface view, 25GE interface view, 40GE interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

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:

    • If the AC-side interface bound to a VSI is a physical interface that has been switched to Layer 3 mode using the undo portswitch command, run the igmp-snooping static-router-port command on this interface.
    • If the AC-side interface bound to a VSI is a VLANIF interface, configure the Layer 2 interface in the corresponding VLAN as a static router port. For details, see the igmp-snooping static-router-port vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> command in "VLAN-based IGMP Snooping Configuration Commands."

Example

# 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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >