set protocols spanning-tree rstp interface edge


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


Command Syntax

set protocols spanning-tree rstp 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.

By default, edge port is disabled.


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

  • Configure the port ge-1/1/1 as an edge port.
admin@Xorplus# set protocols spanning-tree rstp interface ge-1/1/1 edge true
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.