3.12.17. spanning-tree edge

Syntax

spanning-tree edge

no spanning-tree edge

Parameter

Default

The default configuration is disabled.

Mode

Interface Configuration

Usage

To enable the edge mode for an interface, use the command spanning-tree edge in the Interface Configuration mode; and use the no form of the command to restore it to the default configuration.

In the edge mode, the interface would be put into the Forwarding state immediately upon link up. If the edge mode is enabled for the interface and there are BPDUs received on the interface, the loop might be occurred in the short time.

Example

The following example enables the edge mode for the interface gi1.

Switch(config)# interface gi1 Switch(config-if)# spanning-tree edge