beautypg.com

5 configuring stp/rstp/mstp, 1 activating stp/rstp/mstp, 2 root switch – Siemens S223 User Manual

Page 212: 3 path-cost, Configuring stp/rstp/mstp

background image

UMN:CLI User Manual

SURPASS hiD 6615 S223/S323 R1.5

212 A50010-Y3-C150-2-7619

8.3.5 Configuring

STP/RSTP/MSTP

To configure STP and RSTP, use the following steps.

Step 1
Decide STP mode using the stp force-version {stp | rstp} command.

Step 2
Activate MST daemon using the stp mst enable command.

Step 3
Configure detail options if specific commands are required.

8.3.5.1 Activating

STP/RSTP/MSTP

To enable/disable STP, RSTP, and MSTP in the force-version, use the following command.

Command Mode

Description

stp mst

{enable | disable} Bridge

Enables/disables

STP, RSTP or MSTP function.

Even though STP function does not operated, loop event does not occur in a switch
which belongs to the non-dual path LAN environment.

8.3.5.2 Root

Switch

To establish STP, RSTP, or MSTP function, first of all, root switch should be decided. In
STP or RSTP, it is named as root switch and in MSTP it is as IST root switch. Each switch
has its own bridge ID, and root switch on same LAN is decided by comparing their bridge
ID. However, the user can modify root switch by configuring priority for it. The switch hav-
ing the lowest priority is decided as root switch.

To change root switch by configuring priority for it, use the following command.

Command Mode

Description

stp mst priority

MSTID-RANGE

<0-61440>

Configures the priority of the switch:
MSTID-RANGE: select instance number 0.
0-61440: priority value in steps of 4096 (default: 32768)

no stp mst priority

MSTID-

RANGE

Bridge

Clears the Priority of the switch, enter the instance
number.

8.3.5.3 Path-cost

After deciding root switch, you need to decide to which route you will forward the packet.
To do this, the standard is path-cost.

Generally, path cost depends on transmission speed of LAN interface in the switch. The
following table shows path cost according to transmit rate of LAN interface.

You can use same commands to configure STP and RSTP, but their path-costs are to-
tally different. Please be careful not to make mistake.

This manual is related to the following products: