< Home

(Optional) Configuring a Static Router Port

Context

By default, dynamic port learning is enabled in a virtual switching instance (VSI). A switch decides whether to add dynamic router ports by monitoring IGMP Query messages. When a dynamic router port does not receive an IGMP Query message before it times out, the switch deletes the interface from the router port list.

If a switch needs to forward IGMP Report/Leave messages from an interface for a long period of time, configure this interface as a static router port.

Interfaces on a virtual private LAN service (VPLS) network include pseudo wire (PW) side interfaces and attachment circuit (AC) side interfaces. The methods for configuring PW-side and AC-side interfaces as static router ports are different.

Procedure

  • Configure a PW-side interface as a static router port.
    1. Run system-view

      The system view is displayed.

    2. Run vsi vsi-name

      The VSI view is displayed.

    3. (Optional) Run undo igmp-snooping router-learning

      Dynamic learning of router ports is disabled in the VSI.

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

      The interface is configured as a static router port.

  • Configure an AC-side interface as a static router port. The configuration method varies according to the type of 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 (Optional) Configuring a Static Router Port in "VLAN-based IGMP Snooping Configuration."

    • 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, perform the following steps to configure the interface as a static router port:

      1. Run system-view

        The system view is displayed.

      2. (Optional) Disable router port learning in the VSI.

        1. Run vsi vsi-name

          The VSI view is displayed.

        2. Run undo igmp-snooping router-learning

          Dynamic router port learning is disabled.

        3. Run quit

          Exit from the VSI view.

      3. Run interface interface-type interface-number

        The interface view is displayed.

      4. Run igmp-snooping static-router-port vsi vsi-name

        The interface is configured as a static router port.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >