ECS2020 Series CLI Reference Guide-R04
90
spanning-tree portfast edgeport
When a port is directly connected with a PC, and the port is not possible to be part of a loop, the
ports do not need to participate in the spanning tree operations. Configured as an edge port the port
will linkup directly to the forwarding state and will not experience learn, listen STP states.
spanning-tree portfast [edgeport|network]
network port
Port configuration mode
Enter the port configuration mode and sets the port mode as edgeport.
Set GigabitEthernet0/1 as an edge port:
ECS2020-10P(config-if-GigabitEthernet0/1)# spanning-tree portfast edgeport
spanning-tree priority
Configure the bridge priority of a port. If a user wants to specify a port as the root port, the bridge
priority of the port can be increased.
spanning-tree port-priority [0-240]
128
Parameter
Parameter
Description
edgeport
Sets the specified port as an edge port.
network
Sets the specified port as a network port.
Command
Command
Description
show spanning-tree interface gigabitEthernet
0/1
Display the spanning tree status and
configuration of
GigabitEthernet0/1.
Parameter
Parameter
Description
port-priority [0-240]
Sets the bridge priority of a port, with a range
of 0-240 and must be a multiple of 16, default
128.
Default
Mode
Usage
Example
Default