beautypg.com

KBC Networks ESML6-P3 User Manual

Page 35

background image

Ethernet Switch User Manual

Manual_cmd_line_config-ESML6-P3-Rev1106

Copyright © KBC Networks Ltd.

Page 34 of 49

www.kbcnetworks.com

Setting the port priority

SWITCH(config)#rstp port <1-10> priority <0x00-0xFF>

Where<1-10>is the port ID and <0x00-0xFF>is the port priority, the default value is
0x80.

Both device port priority and port ID will be used in calculating the root port.

Check port protocol version

SWITCH(config)#rstp port <1-10> mcheck

Where <1-10>is the port ID

This function is used to avoid a situation where both ends of a link can support RSTP but
they are working under STP protocol. Using the mcheck command forces the devices that
support RSTP to use RSTP.

11.2.2 Display RSTP status

Display current protocol status:

SWITCH#show rstp

This command displays the protocol status of current bridge and all ports.

SWITCH#

SWITCH#show rstp

--------------------SPANNING TREE information in the bridge -----------

Root ID Mac Address

: 08:00:3e:32:53:22

Root ID Priority

: 0x8000

Designated Root Path Cost

: 0

Root Port

: none

Root Max Age 20 Hello Time 2 Forward Delay 15

Bridge ID Mac Address

: 08:00:3e:32:53:22

Bridge ID Priority

: 0x8000

Bridge ForceVersion

: 2

Bridge Max Age 20 Hello Time 2 Forward Delay 15

-------------------All ports information in the bridge----------------