set protocols spanning-tree stp interface mode


The set protocols spanning-tree stp interface mode command configures the link type of the port.


Command Syntax

set protocols spanning-tree stp interface <interface-name> mode <point-to-point | shared>


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.

mode <point-to-point | shared>

Specifies the link type of the port. The value could be point-to-point or shared.

  •   point-to-point: specifies the current Ethernet port to work in full-duplex mode to achieve fast convergence.
  •   shared: specifies the current Ethernet port to work in half-duplex mode.

The default value is point-to-point.


Example

  • Configure the link type of port ge-1/1/1 to point-to-point.
admin@Xorplus# set protocols spanning-tree stp interface ge-1/1/1 mode point-to-point
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.