TP-Link T1600G-18TS Configuration Manual page 237

T1600g series
Hide thumbs Also See for T1600G-18TS:
Table of Contents

Advertisement

Configuring Spanning Tree
Step 4
spanning-tree common-config [ port-priority pri ] [ ext-cost ext-cost ] [ portfast { enable |
disable }] [ point-to-point { auto | open | close }]
Configure STP/RSTP parameters on the desired port .
pri:
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.
ext-cost:
by default, which means the path cost is automatically calculated according to the port's link
speed.
External path cost is usually a parameter configured in MSTP, which indicates the path cost of
the port in CST.
In STP/RSTP, it indicates the path cost of the port in the spanning tree. The port with the lowest
external root path cost will be elected as the root port.
portfast { enable | disable } :
port can transit its state from blocking to forwarding directly. If the port is connected to an end
device, like a PC, it is recommended to set the port as an edge port.
point-to-point { auto | open | close } :
options. By default, it is auto. If the two ports in the P2P link are a root port and a designated
port, they can transit their states to forwarding directly.
Step 5
show spanning-tree interface [ fastEthernet port | gigabitEthernet port | port-channel lagid ] [
edge | ext-cost | int-cost | mode | p2p | priority | role | state | status ]
(Optional) View the information of all ports or a specified port.
port:
lagid:
ext-cost | int-cost | mode | p2p | priority | role | state | status: Display the specified information.
Step 6
end
Return to privileged EXEC mode.
Step 7
copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to enable spanning tree function on port 1/0/3 and
configure the port priority as 32 :
Switch#configure
Switch(config)#interface gigabitEthernet 1/0/3
Switch(config-if)#spanning-tree
Switch(config-if)#spanning-tree common-config port-priority 32
Switch(config-if)#show spanning-tree interface gigabitEthernet 1/0/3
Specify the value of port priority. The valid values are from 0 to 240, which are divisible
Specify the value of external path cost. The valid values are from 0 to 2000000. It is 0
Enable or disable the edge Port. By default, it is disabled. The edge
Specify the port number.
Specify the ID of the LAG.
Specify the P2P link status, with auto, open and close
STP/RSTP Configurations
Configuration Guide
214

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents