TP-Link T1600G-18TS Configuration Manual page 252

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 ] [ int-cost int-cost ][
portfast { enable | disable }] [ point-to-point { auto | open | close }]
Configure the parameters on ports in CIST.
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 in CIST.
ext-cost:
by default, which means the path cost is automatically calculated according to the port's link
speed. External path cost is the path cost of the port in CST. The port with the lowest external
root path cost will be elected as the root port in CIST.
int-cost:
by default, which means the path cost is automatically calculated according to the port's link
speed.
Internal path cost is the path cost of the port in IST. The port with the lowest internal root path
cost will be elected as the root port in IST.
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, the option 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
spanning-tree mcheck
(Optional) Select whether to do MCheck operation on the port.
If a port on an MSTP-enabled device is connected to an STP-enabled device, the port switches
to the STP compatible mode.
If the STP-enabled device is powered off or disconnected from the MSTP-enabled device, the
port cannot switch back to MSTP mode. In this case, you can switch the port to MSTP mode by
MCheck operation.
Step 6
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:
Step 7
end
Return to privileged EXEC mode.
Step 8
copy running-config startup-config
Save the settings in the configuration file.
This example shows how to enable spanning tree function for port 1/0/3 and configure the
port priority as 32 :
Switch#configure
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
Specify the value of internal path cost. The valid values are from 0 to 2000000. It is 0
Specify the port number.
Specify the ID of the LAG.
Enable or disable edge Port. By default, it is disabled. The edge
Specify the P2P link status, with auto, open and close
MSTP Configurations
Display the specified information.
Configuration Guide
229

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents