Fortinet 5003A Manuale Utente

Pagina di 128
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
Variables
Description
Default
edit <interface_name>
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 <cost_int>
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 <priority_value> The priority value of the FortiSwitch-5003A interface in the 
spanning tree instance. Spanning tree selects the interface with 
the lowest priority.
The <priority_value> range is 0 to 240 in increments of 
16. Valid priority values are 0, 16, 32, 64, 80, 96, 112, 128, 144, 
160, 176, 192, 208, 224, and 240. 
128