spanning-tree autoedge

Enables automatic edge detection.

Syntax

spanning-tree autoedge
no spanning-tree autoedge

Command Default

Auto detection is not enabled.

Modes

Interface configuration mode

Usage Guidelines

The port can become an edge port if no Bridge Protocol Data Unit (BPDU) is received.

Examples

To enable automatic edge detection:

device# configure terminal
device(config)# interface ethernet 1/5 
device(conf-if-eth-1/5)# spanning-tree autoedge