The set protocols spanning-tree mstp interface edge command configures a physical port or a LAG port as an edge port for MSTP mode.


Command Syntax

set protocols spanning-tree mstp interface <interface-name> edge <true | false>


Parameter

Parameter

Description

interface <interface-name>

Specifies a port name. The value is a string that can be set to a physical port name or a LAG port.

edge <true | false>

Enables or disables edge on a port. The value could be true or false.

  •   true: enables a physical or a LAG port as an edge port.
  •   false: disables a physical or a LAG port as an edge port.

The default value is false.


Usage Guidelines

The edge port does not participate in the spanning tree calculation. However, once the edge port receives a configuration BPDU, the switching device automatically sets the edge port to a non-edge port and performs spanning tree calculation again.


Example

admin@Xorplus# set protocols spanning-tree mstp interface ge-1/1/1 edge true
admin@Xorplus# commit