Switch fabric-channel stp instance, Syntax, Config switch fabric-channel stp instance – Fortinet 5003 User Manual

Page 98

Advertising
background image

FortiSwitch-5003A and 5003 Fabric and Base Backplane Communications Guide

98

01-30000-85717-20081205

config

FortiSwitch-5003A CLI reference

switch fabric-channel stp instance

Use this command to add and configure 802.1s Multi-Spanning Tree Protocol (MSTP) spanning tree
instances. A spanning tree instance consists of the following:

• An instance ID
• A priority value
• A VLAN range
• A cost and priority value for each FortiSwitch-5003A interface (configured with the

config stp-port

command).

Syntax

config switch fabric-channel stp instance

edit <instance_id>

set

priority <priority_value>

set

vlan-range <id_numbers>

config stp-port

edit <interface_name>

set

cost <cost_int>

set

priority <priority_value>

end

end

Variables

Description

Default

edit <instance_id>

Enter a numeric spanning tree instance number in the range 0

to 15. All devices participating in an MSTP region must have

the same spanning tree instances.
The default configuration includes spanning tree instance 0 that

has a <priority_value> of 32768 and does not include a

vlan-range setting. The stp-port configuration of spanning

tree instance 0 sets the cost of all FortiSwitch-5003A interfaces

to 0 and the priority of all interfaces to 128.

priority <priority_value> The priority value of the FortiSwitch-5003A spanning tree

instance.
MSTP regions include multiple devices with the same spanning

tree instances. The different priority values of the same

instances on different devices determines how spanning tree

routes packets to the different devices. The device with the

spanning tree instance with the lowest priority value is more

likely to be the root device and to process all packets.
The <priority_value> range is 0 to 61440 in increments of

4096. Valid priority values are: 0, 4096, 8192, 12288, 16384,

20480, 24576, 28672, 32768, 36864, 40960, 45056, 49152,

53248, 57344, and 61440.

32768

vlan-range <id_numbers>

Specify the IEEE 802.1Q VLAN IDs that can be added to

VLAN-tagged packets that this spanning tree instance can

receive and transmit. Only packets with these VLAN IDs are

affected by this spanning tree instance.
You can enter any combination of single VLAN IDs and ranges

of VLAN IDs. Use a hyphen to specify ranges. Separate each

single ID or range with a comma. Do not include spaces. For

example: 1,3-4,6,7,9-100.

No default.

Advertising