Qtech QSW-2900-24T-AC [157/209] 0 configure spanning tree root guard

10-155
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.
10.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/1 in STP to 120
QTECH(config-if-ethernet-0/1)#spanning-tree port-priority 120
10.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:
! Enable mst root-guard of e0/1
QTECH(config-if-ethernet-0/1)#spanning-tree root-guard
10.2.11 Configure interface to force to send rstp packet
This configuration is used to check whether there is traditional network bridge running STP.
Configure it in interface configuration mode:
· Configure interface to force to send rstp packet
spanning-tree mcheck
For example:

Содержание

Скачать
Случайные обсуждения