Tp-Link T1600G-28PS (TL-SG2424P) [256/754] Gi1 0 3 enable 32 auto auto no no auto n a n a lnkdwn

Tp-Link T1600G-28PS (TL-SG2424P) [256/754] Gi1 0 3 enable 32 auto auto no no auto n a n a lnkdwn
Configuration Guide 234
Configuring Spanning Tree MSTP Configurations
Step 1 configure
Enter global configuration mode.
Step 2 interface [gigabitEthernet
port
| range gigabitEthernet
port-list
] [port-channel
port-channel
|
range port-channel
port-channel-list
]
Enter interface configuration mode.
Step 3 spanning-tree mst instance
instance-id
{[ port-priority
pri
] | [ cost
cost
]}
Configure the priority and path cost of ports in the specified instance.
instance-id:
Specify the instance ID, the valid values ranges from 1 to 8.
pri:
Specify the priority of the port. The valid values are from 0 to 240, which are divisible by
16, and the default value is 128. The port with the lower value has the higher priority. In the
same condition, the port with the highest priority will be elected as the root port in the desired
instance.
cost:
Specify the path cost of the port. The valid values are from 0 to 2000000. By default, it is 0,
which means the port calculates the path cost automatically according to the port’s link speed. It
is the root path cost from the port to the root bridge in the specified instance. The port with the
lowest path cost will be elected as the root port in the desired instance.
Step 4 end
Return to privileged EXEC mode.
Step 5 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 Int-Cost Edge P2p Mode Role Status
----------- --------- ---- -------- -------- ---- --------- ----- ----- -------
Gi1/0/3 Enable 32 Auto Auto No No(auto) N/A N/A LnkDwn
MST-Instance 5

Содержание

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

Скачать