Qtech QSW-3900-24-SFP-DC [200/245] 0 configure spanning tree root guard

Qtech QSW-3900-48-SFP-DC [200/245] 0 configure spanning tree root guard
QTECH Software Configuration Manual
15-199
For example :
! Configure the Max Age to 10 seconds
QTECH(config)#spanning-tree max-age 10
Caution : Max Age is used to configure the longest aging interval of STP. Lose
packet when overtiming. The STP will be frequently accounts and take crowded network
to be link fault, if the value is too small. If the value is too large, the link fault cannot be
known timely. Max Age is determined by diameter of network, and the default time of 20
seconds is suggested. 2*(Hello Time + 1) Max Age 2*(ForwardDelay 1)
15.2.8 Configure path cost of specified interfaces
Configure interface STP path cost and choose the path with the smallest path cost to be the effective path. The
path cost is related to the link speed rate. The larger the speed rate is, the less the cost is. STP can auto-detect the link
speed rate of current interface and converse it to be the cost. Configure it in interface configuration mode :
Configure path cost of specified interface
spanning-tree cost cost
Restore the default path cost of specified interface
no spanning-tree cost
Confiure path cost will cause the re-acounting of the STP. Interface path cost ranges from 1 to 65535. It is
suggested to use the default cost to make STP calculate the path cost of the current interface. By default, the path cost
is determined by the current speed.
In IEEE 802.1D, the default path cost is determined by the speed of the interface. The port with the speed 10M
have the cost of 100, 100M, 19; 1000M, 4.
15.2.9 Configure STP priority od specified port
Specify specified port in STP by configuring port priority. Generally, the smaller the value is, the superior
the priority is, and the port will be more possible to be included in STP. If the priorities are the same, the port number
is considered. Configure it in interface configuration mode :
Configure port priority
spanning-tree port-priority port-priority
Restore the default port priority
no spanning-tree port-priority
The smaller the value is, the superior the priority is, and the port is easier to be the root interface. Change the
port priority may cause the re-calculating of the STP. The port priority ranges from 0 to 255. the default port priority
is 128.
For example :
! Configure the port priority of Ethernet 0/0/1 in STP to 120
QTECH(config-if-ethernet-0/0/1)#spanning-tree port-priority 120
15.2.10 Configure spanning-tree root-guard
Configure spanning-tree root-guard can avoid interface to be root which is used for preventing bone network
topology destroying by outer BPDU packet. Configure it in interface configuration mode :
configure spanning-tree root-guard
spanning-tree root-guard
restore to default root-guard
no spanning-tree root-guard
Example :

Содержание

Скачать