Tp-Link T1600G-28PS (TL-SG2424P) [279/754] Configurations for switch b

Tp-Link T1600G-28PS (TL-SG2424P) [279/754] Configurations for switch b
Configuration Guide 257
Configuring Spanning Tree Configuration Example for MSTP

Configurations for Switch B
1) Enable the spanning tree function on port 1/0/1 and port 1/0/2, and specify the path cost of
port 1/0/2 in instance 2 as 400000.
Switch#congure
Switch(cong)#interface gigabitEthernet 1/0/2
Switch(cong-if)#spanning-tree
Switch(cong-if)#spanning-tree mst instance 2 cost 400000
Switch(cong-if)#exit
Switch(cong)#interface gigabitEthernet 1/0/1
Switch(cong-if)#spanning-tree
Switch(cong-if)#exit
2) Configure the region name as 1, the revision number as 100; map VLAN101-VLAN103 to
instance 1; map VLAN104-VLAN106 to instance 2; configure the priority of Switch B in
instance 1 as 0 to set it as the root bridge in instance 1:
Switch(cong)#spanning-tree mst conguration
Switch(cong-mst)#name 1
Switch(cong-mst)#revision 100
Switch(cong-mst)#instance 1 vlan 101-033
Switch(cong-mst)#instance 2 vlan 104-106
Switch(cong-mst)#exit
Switch(cong)#spanning-tree mst instance 1 priority 0
3) Configure the spanning tree mode as MSTP, then enable spanning tree function globally.
Switch(cong)#spanning-tree mode mstp
Switch(cong)#spanning-tree
Switch(cong)#end
Switch#copy running-cong startup-cong

Содержание

Похожие устройства

Скачать