Tp-Link T1700G-28TQ V2 — понимание внутренней стоимости пути и конфигурации STP [225/354]

Превью страниц Страница 225 / 354
Tp-Link T1700G-28TQ V2 [225/354] Syntax
int-cost
—— Internal Path Cost, which is used to choose the path and
calculate the path costs of ports in an MST region. It is an important criterion
on determining the root port. The lower value has the higher priority. By
default, it is automatic. It ranges from o to 2000000. By default, it is 0 which is
mean auto.
portfast —— Enable/ Disable Edge Port. By default, it is disabled. The edge
port can transit its state from blocking to forwarding rapidly without waiting
for forward delay.
point-to-point —— The P2P link status, with auto, open and close options. By
default, the option is auto. If the two ports in the P2P link are root port or
designated port, they can transit their states to forwarding rapidly to reduce
the unnecessary forward delay.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet / interface ten-gigabitEthernet / interface range
ten-gigabitEthernet / interface port-channel / interface range port-channel)
Privilege Requirement
Only Admin, Operator and Power User level users have access to these
commands.
Example
Enable the STP function of port 1, and configure the Port Priority as 64,
ExtPath Cost as 100, IntPath Cost as 100, and then enable Edge Port:
T1700G-28TQ(config)# interface gigabitEthernet 1/0/1
T1700G-28TQ(config-if)# spanning-tree common-config port-priority 64
ext-cost 100 int-cost 100 portfast enable point-to-point open
26.5 spanning-tree mode
Description
The spanning-tree mode command is used to configure the STP mode of the
switch. To return to the default configurations, please use no spanning-tree
mode command.
Syntax
spanning-tree mode { stp | rstp | mstp }
no spanning-tree mode
209

Содержание

2312

Изучите внутреннюю стоимость пути и настройки STP для оптимизации работы сетевых портов. Узнайте, как быстро переключать состояния портов и управлять их приоритетами.