After STP is enabled on a port, edge-port detecting is started automatically. If the port fails to receive BPDU packets within (2 x Hello Timer + 1) seconds, the port is set to an edge port. Otherwise, the port is set to a non-edge port. If the stp edged-port enable or stp edged-port disable command is executed in the interface view or the stp edged-port default command is configured in the system view, automatic detection of the edge port becomes invalid.