Identifying edge ports automatically


spanning-tree port-list auto-edge-port
no spanning-tree port-list auto-edge-port

Enables automatic identification of edge ports for faster convergence. When enabled, the port looks for BPDUs for the first 3 seconds. If there are none, the port is classified as an edge port and immediately starts forwarding packets. If BPDUs are seen on the port, the port is classified as a non‐edge port and normal STP operation commences on that port.

If admin-edge-port is enabled for a port, the setting for auto-edge-port is ignored whether set to yes or no.

If admin-edge-port is set to no, and auto-edge-port has not been disabled (set to no), then the auto-edge-port setting controls the behavior of the port.


Requires thorough knowledge of IEEE 802.1D/w/s standards and operation.

Spanning tree interprets a switch mesh as a single link. Because the switch automatically gives faster links a higher priority, the default MSTP parameter settings are usually adequate for spanning tree operation. Because incorrect MSTP settings can adversely affect network performance, do not change the MSTP settings from their default values unless you have a strong understanding of how spanning tree operates.

Default: Enabled

The no form of this command disables auto-edge-port operation on the specified ports.