< Home

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

Function

The igmp-snooping static-router-port command configures a PW-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 PW-side interface in a VSI is configured as a static router port.

Format

igmp-snooping static-router-port remote-peer ip-address [ negotiation-vc-id vc-id ]

undo igmp-snooping static-router-port remote-peer ip-address [ negotiation-vc-id vc-id ]

Parameters

Parameter

Description

Value

remote-peer ip-address

Specifies the IP address of the remote peer.

The value is in dotted decimal notation.

negotiation-vc-id vc-id

Specifies a virtual circuit ID. Generally, this parameter is specified when two ends of a PW have different VSI names. The vc-id parameter must specify an unused VC ID. That is, the specified VC ID cannot be the same as the VSI ID configured for any other VSI or the VC ID specified by negotiation-vc-id vc-id in another VSI.

The value is an integer that ranges from 1 to 4294967295.

Views

VSI 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 for VPLS using the igmp-snooping over-vpls enable command in the system view.

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 a PW-side interface as a static router port. 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 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."
  • 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 vsi vsi-name command on this interface.

Example

# Configure the PW-side interface (with remote peer 1.1.1.1) as a static router port.

<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] igmp-snooping static-router-port remote-peer 1.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >