< Home

Configuring a Port as an Edge Port and BPDU Filter Port

Context

If a designated port is located at the edge of a network and is directly connected to terminal devices, this port is called edge port.

An edge port does not receive or process configuration BPDUs and does not participate in MSTP calculation. It can transition from Disabled to Forwarding without any delay.

After a designated port is configured as an edge port, the port can still send BPDUs. The BPDUs are sent to other networks, which causes flapping on other networks. To prevent a port from processing and sending BPDUs, configure the port as an edge port and BPDU filter port.

After all ports are configured as edge ports and BPDU filter ports in the system view, the ports do not send BPDUs or negotiate the STP status with directly connected ports on the peer device. All ports are in the Forwarding state, which may cause loops on the network and lead to broadcast storms. Exercise caution when you configure a port as an edge port and BPDU filter port.

After a port is configured as an edge port and BPDU filter port in the interface view, the port does not process or send BPDUs. The port cannot negotiate the STP status with the directly connected port on the peer device. Exercise caution when you configure a port as an edge port and BPDU filter port.

Procedure

  • Configuring all ports as edge ports and BPDU filter ports in the system view
    1. Run system-view

      The system view is displayed.

    2. Run stp edged-port default

      All ports are configured as edge ports.

      By default, all ports are non-edge ports.

    3. Run stp bpdu-filter default

      All ports are configured as BPDU filter ports.

      By default, a port is a non-BPDU filter port.

  • Configuring a port as an edge port and BPDU filter port in the interface view
    1. Run system-view

      The system view is displayed.

    2. Run interface interface-type interface-number

      The view of the Ethernet interface that participates in spanning tree calculation is displayed.

    3. (Optional) Run stp edged-port enable

      The port is configured as an edge port.

      By default, all ports are non-edge ports.

    4. Run stp bpdu-filter enable

      The port is configured as a BPDU filter port.

      By default, a port is a non-BPDU filter port.

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