Qtech QSW-8200-28T-AC — настройка команд MSTP: Rootguard и Portfast для сетевых портов [16/23]
Превью страниц
Страница 16 /
23
![Qtech QSW-8200-28F-AC Команды для mstp онлайн [16/23] 481630](/views2/1596637/page16/bg10.png)
User Manual
Chapter 1. Commands for MSTP 16
www.qtech.ru
1.1.25 spanning-tree mst rootguard
Command: spanning-tree [mst <instance-id>] rootguard
no spanning-tree [mst <instance-id>] rootguard
Function: Enable the rootguard function for specified instance, the rootguard function
forbid the port to be MSTP root port. “no spanning-tree mst <instance-id> rootguard”
disable the rootguard function.
Parameter: <instance-id>: MSTP instance ID.
Command mode: Port Mode.
Default: Disable rootguard function.
Usage Guide: The command is used in Port Mode, if the port is configured to be a
rootguand port, it is forbidden to be a MSTP root port. If superior BPDU packet is
received from a rootguard port, MSTP did not recalculate spanning-tree, and just set
the status of the port to be root_inconsistent (blocked).If no superior BPDU packet is
received from a blocked rootguard port, the port status will restore to be forwarding.
The rootguard function can maintain a relative stable spanning-tree topology when a
new switch is added to the network.
Example: Enable rootguard function for port 1/0/2 in instance 0.
Switch(config)#interface ethernet 1/0/2
Switch(Config-If-Ethernet1/0/2)#spanning-tree mst 0 rootguard
Switch(Config-If-Ethernet1/0/2)#
1.1.26 spanning-tree portfast
Command: spanning-tree portfast [bpdufilter | bpduguard] [recovery <30-3600>]
o no spanning-tree portfast
Function: Set the current port as boundary port, and BPDU filter、BPDU guard as
specified mode or default mode; the command “no spanning-tree portfast” sets the
current port as non-boundary port.
Parameter: bpdufilter: configure the border port mode as BPDU filter
bpduguard: configure the border port mode as BPDU guard
recovery: configure the border port can be recovered automatically after
implement bpduguard violation operation
<30-3600>: the recovery time, do not recover it by default
Command mode: Port Mode
Default: All the ports are non-boundary ports by default when enabling MSTP.
Usage Guide: When a port is set to be a boundary port, the port converts its status
from discarding to forwarding without bearing forward delay. Once the boundary port
receives the BPDU, the port becomes a non-boundary port.
Example: Configure the border port mode as BPDU guard, the recovery time as 60s.
Switch(config)#interface ethernet 1/0/2
Switch(Config-If-Ethernet1/0/2)#spanning-tree portfast bpduguard recovery 60
Switch(Config-If-Ethernet1/0/2)#
Содержание
Похожие устройства
-
Qtech QSW-1500-20EF-POE-ACТехнические характеристики -
Qtech QSW-1500-19EF-POE-AC V3Описание параметров -
Qtech QSW-1500-10E-POE-DОписание параметров -
Qtech QSW-1500-6E-POE-DПодробное техническое описание -
Qtech QSW-4610Инструкция пользователя -
Qtech QSW-3750 REV. RИнструкция пользователя -
Qtech QSW-3750Руководство по эксплуатации -
Qtech QSW-3420Инструкция по применению -
Qtech QSW-9000-01Руководство по управлению -
Qtech QSW-9000-01Руководство по настройке -
Qtech QSW-9000-01Руководство по настройке управления -
Qtech QSW-9000-01Руководство по командам
Изучите команды MSTP, включая rootguard и portfast, для управления состоянием сетевых портов. Подробные инструкции и примеры настройки для стабильной топологии.