Config stp-port, Syntax, Example – Fortinet 5003 User Manual
Page 99: Related topics, Comm, Edit
FortiSwitch-5003A CLI reference
config
FortiSwitch-5003A and 5003 Fabric and Base Backplane Communications Guide
01-30000-85717-20081205
99
config stp-port
Use this command to change the spanning tree cost and priority for each FortiSwitch-5003A interface
in a spanning tree instance. When you add a new spanning tree instance the cost of each interface in
the spanning tree instance is set to 0 and the priority is set to 128.
Syntax
config stp-port
set
set
end
Example
This example shows how to add spanning tree instance 10 with priority 4096 and with a VLAN ID
range that includes 1, 200-210, and 23, 54, and 68. This instance also changes the cost and priority of
interface slot-13.
config switch fabric-channel stp instance
edit 10
set priority 4096
set vlan-range 1,200-210,23,54,68
config stp-port
edit slot-13
set cost 2000
set priority 16
end
end
Related topics
•
config switch fabric-channel interface
•
config switch fabric-channel physical-port
•
config switch fabric-channel stp settings
•
config switch fabric-channel trunk
Variables
Description
Default
edit
Enter the name of the FortiSwitch-5003A fabric channel
interface to configure. You cannot edit an interface that has
been added to a trunk. Edit the interface to change its spanning
tree cost and priority.
cost
Enter the cost for the FortiSwitch-5003Ainterface in the range
from 1 to 200000000. Spanning tree selects the interface with
the lowest cost.
Suggested values for different interface speeds:
• 10 Mbps: 20000000
• 100 Mbps: 200000
• 1 Gbps: 20000
• 10 Gbps: 2000
0
priority
spanning tree instance. Spanning tree selects the interface with
the lowest priority.
The
16. Valid priority values are 0, 16, 32, 64, 80, 96, 112, 128, 144,
160, 176, 192, 208, 224, and 240.
128