Tp-Link T1700G-28TQ V2 — настройка MSTP: Пошаговое руководство по конфигурации [283/772]

Превью страниц Страница 283 / 772
Tp-Link T1700G-28TQ V2 [283/772] Configuring global mstp parameters
Configuration Guide 258
Configuring Spanning Tree MSTP Configurations
Step 6 copy running-config startup-config
Save the settings in the configuration file.
This example shows how to configure the priority as 144, the path cost as 200 of port 1/0/3
in instance 5:
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/3
Switch(config-if)#spanning-tree mst instance 5 port-priority 144 cost 200
Switch(config-if)#show spanning-tree interface gigabitEthernet 1/0/3
MST-Instance 0 (CIST)
Interface State Prio Ext-Cost nt-Cost Edge P2p Mode Role Status
---------- ------ ---- -------- -------- ---- --------- ----- ----
Gi1/0/3 Enable 32 Auto Auto No No(auto) N/A N/A LnkDwn
MST-Instance 5
Interface Prio Cost Role Status
----------- ------ ------ -------- ---------
Gi1/0/3 144 200 N/A LnkDwn
Switch(config-if)#end
Switch#copy running-config startup-config
3.2.3 Configuring Global MSTP Parameters
Follow these steps to configure the global MSTP parameters of the switch:
Step 1 configure
Enter global configuration mode.
Step 2 spanning-tree priority
pri
Configure the priority of the switch for comparison in CIST.
pri
:
Specify the CIST priority of the switch. The valid values are from 0 to 61440, which are
divisible by 4096, and the default value is 32768. The switch with the lower value has the higher
priority.
CIST priority the priority of a switch in CIST. The switch with the highest priority will be elected
as the root bridge in CIST.

Содержание

3073

Узнайте, как правильно настроить параметры MSTP на коммутаторе. Пошаговое руководство по конфигурации приоритета и стоимости портов для оптимизации сети.