Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
579
Level: 12.
Usage Guideline
A port can be in one of the following three port fast modes:
Edge mode - The port will directly change to the spanning-tree forwarding state when a link-up
occurs without waiting for the forward-time delay. If the interface receives a BPDU later, its
operation state changes to the non-port-fast state.
Disable mode - The port will always be in the non-port-fast state. It will always wait for the
forward-time delay to change to forwarding state.
Network mode - The port will remain in the non-port-fast state for three seconds. The port will
change to the port-fast state if no BPDU is received and changes to the forwarding state. If the
port received the BPDU later, it will change to the non-port-fast state
This command should be used with caution. Otherwise, an accidental topology loop and data-packet loop
may be generated and disrupt the network operation.
Example
This example shows how to configure port eth1/0/7 to the port-fast edge mode.
Switch# configure terminal
Switch(config)# interface eth1/0/7
Switch(config-if)# spanning-tree portfast edge
Switch(config-if)#
61-13 spanning-tree port-priority
This command is used to configure the value of the STP port priority on the specified port. It is only used
for RSTP and STP versions. Use no form of this command to reset to the default priority.
spanning-tree port-priority PRIORITY
no spanning-tree port-priority
Parameters
PRIORITY
Specifies the port priority. Valid values are from 0 to 240.
Default
By default, this value is 128.
Command Mode
Interface Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The port priority and the port number together form the Port Identifier. It will be used in the computation of
the role of the port. This parameter is used only in the RSTP and STP-compatible mode. A smaller
number represents a better priority.
Example
This example shows how to configure the port priority to 0 for port eth1/0/7.