12–6 MULTILINK ML2400 ETHERNET COMMUNICATIONS SWITCH – INSTRUCTION MANUAL
SPANNING TREE PROTOCOL (STP) CHAPTER 12: SPANNING TREE PROTOCOL (STP)
Example 12-3 shows how to enable STP using the above commands.
The
priority command specifies the port or switch level priority. When a port(s) are
specified the priority is associated with ports and their value is 0 to 255. If no ports are
specified, then the switch (bridge) priority is specified and its value is 0 to 65535. This value
is used along with the switch MAC address to determine which switch in the network is the
root device. Lower values mean higher priority. The default value is 32768.
Example 12-3: Enabling STP
ML2400# show active-stp
Current Active Mode: RSTP.
RSTP is Disabled.
ML2400# stp
ERROR: Invalid Command
ML2400# set stp type=stp
STP Mode set to STP.
ML2400# stp
ML2400(stp)##
stp enable
Successfully set the STP status
ML2400(stp)## show stp config
STP CONFIGURATION
-----------------
Spanning Tree Enabled(Global) : YES
Spanning Tree Enabled(Ports) : YES, 9,10,11,12,13,14,15,16
Protocol : Normal STP
Bridge ID : 80:00:00:20:06:25:ed:80
Bridge Priority : 32768
Bridge Forward Delay : 15
Bridge Hello Time : 2
Bridge Max Age : 20
Root Port : 0
Root Path Cost : 0
Designated Root : 80:00:00:20:06:25:ed:80
Designated Root Priority : 32768
Root Bridge Forward Delay : 15
Root Bridge Hello Time : 2
Root Bridge Max Age : 20
RSTP CONFIGURATION
-----------------
Rapid STP/STP Enabled(Global) : NO
ML2400(stp)## show stp ports
STP Port Configuration
--------------------------------------------------------------------------------------
Port# Type Priority Path Cost State Des. Bridge Des. Port
--------------------------------------------------------------------------------------
09 TP(10/100) 128 100 Forwarding 80:00:00:20:06:25:ed:80 80:09
10 TP(10/100) 128 100 Disabled 80:00:00:20:06:25:ed:80 80:0a
11 TP(10/100) 128 100 Disabled 80:00:00:20:06:25:ed:80 80:0b
12 TP(10/100) 128 100 Disabled 80:00:00:20:06:25:ed:80 80:0c
13 TP(10/100) 128 19 Forwarding 80:00:00:20:06:25:ed:80 80:0d
14 TP(10/100) 128 100 Disabled 80:00:00:20:06:25:ed:80 80:0e
15 TP(10/100) 128 100 Disabled 80:00:00:20:06:25:ed:80 80:0f
16 TP(10/100) 128 100 Disabled 80:00:00:20:06:25:ed:80 80:10
ML2400(stp)##