< Home

Configuring a Fabric Port (on the Parent)

Context

When the parent connects to a level-1 AS through a fabric port across a network, the parent-side fabric port needs to be configured to the indirect connection mode. After this fabric port is bound to an Eth-Trunk, the configurations required for Layer 2 management VLAN communication on the Eth-Trunk must be manually configured. However, if the parent is directly connected to a level-1 AS, these configurations can be automatically generated.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run uni-mng

    The uni-mng view is displayed.

  3. Run interface fabric-port port-id

    A fabric port is created and the fabric port view is displayed.

  4. Run port connect-type indirect

    The indirect connection mode is configured for the fabric port.

    The default connection mode of a fabric port is direct connection.

  5. Run port member-group interface eth-trunk trunk-id

    The fabric port is bound to an Eth-Trunk.

    A fabric port can be bound to only the Eth-Trunk that has not been created. When a fabric port is bound to an Eth-Trunk, the system creates the Eth-Trunk.

  6. (Optional) Run description description

    The description of the fabric port is configured.

    By default, a fabric port does not have a description.

    To facilitate fabric port management and identification, you can configure descriptions for fabric ports. For example, you can describe the name of an AS that connects to a fabric port.

  7. Run quit

    Exit from the fabric port view.

  8. Run quit

    Exit from the uni-mng view.

  9. Run interface eth-trunk trunk-id

    The Eth-Trunk interface view is displayed. The Eth-Trunk is the one bound in step 5. Perform the following configurations on the Eth-Trunk for Layer 2 management VLAN communication.

    Configuration

    Command

    Description

    Set the link type of the Eth-Trunk to hybrid.

    port link-type hybrid

    -

    Add a port to the management VLAN.

    port hybrid tagged vlan vlan-id

    -

    Enable root protection.

    stp root-protection

    -

    Configure the port as a non-edge port.

    stp edged-port disable

    -

    Disable an interface from detecting loops in the local VLAN (applicable only to modular switches).

    loop-detection disable

    -

    Configure the port as a control point.

    authentication control-point open

    -

    Configure the Eth-Trunk to work in LACP mode.

    mode lacp

    The Eth-Trunk working mode configuration must be consistent on the member port in the indirectly connected fabric port of the parent and the Layer 2 network port connected to the member port. If the Eth-Trunk working mode on the Layer 2 network port is set to LACP, the Eth-Trunk working mode on the member port must also be set to LACP.

  10. Run quit

    The Eth-Trunk interface view is displayed.

  11. Run interface interface-type interface-number

    The interface view is displayed.

  12. Run eth-trunk trunk-id

    The current interface is added to the Eth-Trunk.

    • You can perform the two steps multiple times to add multiple interfaces to an Eth-Trunk.

    • Before removing an Up member port from a fabric port, run the shutdown command in the interface view to shut down the member port.

    • When a port joins a downlink fabric port of the parent, the port enters the blocking state. When the port negotiates with the peer port successfully, the port is unblocked.

Verifying the Configuration

  • Run the display uni-mng interface fabric-port configuration [ parent | as name as-name ] command to check the fabric port configuration.

  • Run the display uni-mng interface fabric-port [ port-id ] state command to check the fabric port status.

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