The stp edged-port command sets a port as an edge or a non-edge port.
The undo stp edged-port command restores the default setting.
By default, all ports are non-edge ports.
Usage Scenario
On a Layer 2 network running STP, if a port connected to a terminal is configured as an edge port using the stp edged-port enable command, the port will not participate in spanning tree calculation. This speeds up network convergence and improves network stability.
Running the stp edged-port enable command in the interface view configures only the current port as a bridge protocol data unit (BPDU)-filter port. If multiple BPDU-filter ports are required on a device, run the stp edged-port default command in the system view to configure all the ports as BPDU-filter ports, and then run the stp edged-port disable command in the view of the interfaces that need to participate in spanning tree calculation. If a port has been configured as a non-BPDU filter port using the stp edged-port disable command, it remains a non-BPDU filter port, even if the stp edged-port default command is run.Configuration Impact
After the stp edged-port enable or stp edged-port disable command is run to set the current port to an edge or a non-edge port, the edge-port automatic detection function does not take effect. After the undo stp edged-port command is used to restore the default setting, the edge-port automatic detection function takes effect.
Precautions