(Optional) Configuring Static Interfaces

On a network with a stable topology, you can configure static interfaces, including static router interfaces and static group member interfaces.

Context

A router interface is used to receive multicast data messages from an upstream device. By default, multicast traffic is transmitted through dynamic router interfaces. If an interface needs to receive multicast data messages for a long time, configure the interface as a static router interface to prevent multicast service interruption on the interface.

A multicast group member interface is used to receive the multicast data of an any-source or source-specific multicast group and sends the data to user hosts. By default, multicast traffic is transmitted through dynamic member interfaces. If a multicast group member needs to send data to connected user hosts for a long time, set the interface as a static member interface.

On a network with a stable topology, set PWs or sub-interfaces in a VPLS or interfaces in a VLAN as static interfaces.

A static interface does not age, and can be deleted only through commands.

Procedure

  • Static interfaces can be configured in different positions on a network. The steps listed in Table 1 can be performed in any order. Complete one or more steps as required.

    Table 1 Configuring static interfaces

    Objective

    Usage Scenario

    Configuration Position

    Step

    Description

    Configure static router interfaces.

    VLAN

    Interface

    1. Run the system-view command to enter the system view.
    2. Run the interface interface-typeinterface-number command to enter the Ethernet interface view.
    3. Run the mld-snooping static-router-port vlan vlan-id command to set the interface in a specified VLAN as a static router interface.
    4. Run the commit command to commit the configuration.

    Before running the command, add the interface to a specified VLAN; otherwise, the configuration is invalid.

    VPLS

    Sub-interface

    1. Run the system-view command to enter the system view.
    2. Run the interface interface-type interface-number.subnumber command to enter the sub-interface view.
    3. Run the l2 binding vsi vsi-name command to bind the sub-interface to a VSI.
    4. Run the mld-snooping static-router-port vsi vsi-name command to configure the sub-interface as a static router interface of the specified VSI.
    5. Run the commit command to commit the configuration.
    • A sub-interface that is not bound to a VSI cannot be configured as a static router interface.
    • After a sub-interface configured as a static router interface is unbound from a VSI, all static router interface configurations will be deleted from the sub-interface.

    The sub-interface can be a common sub-interface or a Dot1q termination sub-interface.

    PW

    1. Run the system-view command to enter the system view.
    2. Run the vsi vsi-name [ static ] command to enter the VSI view.
    3. Run the mld-snooping static-router-port remote-peer ip-address [ negotiation-vc-id vc-id ] command to configure a PW as a static router interface in the specified VSI.
    4. Run the commit command to commit the configuration.

    This configuration requires LDP be the signaling negotiation protocol.

    If no IP address is set for the remote peer, you can still configure the PW as a static router interface of a VSI. The configuration, however, takes effect only after an IP address is set for the remote peer.

    Configure static multicast group member interfaces.

    VLAN

    Interface

    1. Run the system-view command to enter the system view.
    2. Run the interface interface-type interface-number command to enter the interface view. The interface needs to be connected to static users of multicast groups.
    3. (Optional) Run the undo mld-snooping learning vlan { vlan-id { [ &<1–10> ][to vlan-id ] | all } } command to disable dynamic learning on multicast group member interfaces. After an interface is disabled from dynamically learning forwarding entries, you can only add the interface to a multicast group statically.
    4. Run the l2-multicast ipv6 static-group [ source-address source-address-ip-address ] group-address group-address vlan { { vlan-id1 [ to vlan-id2 ] } & <1-10> } command to configure the interface in the specified VLANs as a static multicast group member interface.
    5. (Optional) Run the quit command to return to the system view.
    6. (Optional) Run the vlan vlan-id command to enter the VLAN view.
    7. (Optional) Run the mld-snooping static-group suppress-dynamic-join command to disable interfaces from forwarding Report and Done messages to upstream devices with static groups configured.
    8. Run the commit command to commit the configuration.

    Before running the command, add the interface to a specified VLAN; otherwise, the configuration is invalid.

    VPLS

    Sub-interface

    1. Run the system-view command to enter the system view.
    2. Run the interface interface-type interface-number.subnumber command to enter the sub-interface view.
    3. Run the l2 binding vsi vsi-name command to bind the sub-interface to a VSI.
    4. Run the l2-multicast ipv6 static-group [ source-address source-address-ip-address ] group-address group-address vsi vsi-name command to configure the sub-interface as a static group member interface of the VSI.
    5. Run the commit command to commit the configuration.
    • A sub-interface that is not bound to a VSI cannot be configured as a static group member interface.
    • After a sub-interface configured as a static group member interface is unbound from a VSI, all static group member interface configurations will be deleted from the sub-interface.
    • A sub-interface can be bound to only one VSI. A sub-interface can be configured as a static group member interface of only one VSI.

    PW

    1. Run the system-view command to enter the system view.
    2. Run the vsi vsi-name [ static ] command to enter the VSI view.
    3. Run the l2-multicast ipv6 static-group [ source-address source-address-ip-address ] group-address group-address remote-peer ip-address [ negotiation-vc-id vc-id ] command to configure a PW as a static group member interface in the specified VSI.
    4. Run the commit command to commit the configuration.

    This configuration requires LDP be the signaling negotiation protocol.

    If no IP address is set for the remote peer, you can still configure the PW as a static group member interface of a VSI. The configuration, however, takes effect only after an IP address is set for the remote peer.

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