在部分设备支持STP协议的网络中实施STP( 四 )


1 Disabled 1 18
2 Disabled 0 19
3 Disabled 0 19
4 Disabled 0 19
5 Disabled 0 19
6 Disabled 0 19
7 Disabled 0 19
8 Disabled 0 19
9 Disabled 0 19
10 Disabled 0 19
11 Disabled 0 19
12 Disabled 0 19
13 Disabled 0 19
14 Disabled 0 19
15 Disabled 0 19
16 Disabled 0 19
17 Disabled 0 19
18 Disabled 0 19
19 Disabled 0 19
20 Disabled 1 18
21 Forwarding 1 18
Enterfor more or "q" to quit--:
22 Blocking 0 18
23 Blocking 0 18
24 Blocking 0 18
-------------------------------------------------------------------
将第20端口连上,再调整第24端口费用,可以看到第24端口处于learning状态 。
Select menu option (bridge/port):
Menu options: --------------3Com SuperStack 3 Switch 3300---------------
address - Administer bridge addresses
detail - Display detail information
stpCost - Set the Spanning Tree path cost
stpFastStart - Enable/Disable Fast Start per port
summary - Display summary information
vltMode - Enable/Disable VLT tagging on a port
Type "q" to return to the previous menu or ? for help.
----------------------------------secondary3300 (1)---------------------
Select menu option (bridge/port): stpcost //选择stpcost菜单
Select bridge port (1-24): 24//选择第24端口
Enter new value (1-65535) [18]: 12 //调整端口费用为12
Select menu option (bridge/port):
Menu options: --------------3Com SuperStack 3 Switch 3300---------------
address - Administer bridge addresses
detail - Display detail information
stpCost - Set the Spanning Tree path cost
stpFastStart - Enable/Disable Fast Start per port
summary - Display summary information
vltMode - Enable/Disable VLT tagging on a port
Type "q" to return to the previous menu or ? for help.
----------------------------------secondary3300 (1)---------------------
Select menu option (bridge/port): summ
Select bridge port (1-24,all) [all]:
Port stpState fwdTransitions stpCost
--------------------------------------------------------------------
1 Disabled 1 18
2 Disabled 0 19
3 Disabled 0 19
4 Disabled 0 19
5 Disabled 0 19
6 Disabled 0 19
7 Disabled 0 19
8 Disabled 0 19
9 Disabled 0 19
10 Disabled 0 19
11 Disabled 0 19
12 Disabled 0 19
13 Disabled 0 19
14 Disabled 0 19
15 Disabled 0 19
16 Disabled 0 19
17 Disabled 0 19
18 Disabled 0 19
19 Disabled 0 19
20 Blocking 1 18
21 Blocking 1 18
Enterfor more or "q" to quit--:
22 Blocking 0 18
23 Blocking 0 18
24 Learning 1 12 //处于learning状态
Select menu option (bridge/port): summ
Select bridge port (1-24,all) [all]: all
Port stpState fwdTransitions stpCost
--------------------------------------------------------------------
1 Disabled 1 18
2 Disabled 0 19
3 Disabled 0 19
4 Disabled 0 19
5 Disabled 0 19
6 Disabled 0 19
7 Disabled 0 19
8 Disabled 0 19
9 Disabled 0 19
10 Disabled 0 19
11 Disabled 0 19
12 Disabled 0 19
13 Disabled 0 19
14 Disabled 0 19
15 Disabled 0 19
16 Disabled 0 19
17 Disabled 0 19
18 Disabled 0 19
19 Disabled 0 19
20 Blocking 1 18
21 Blocking 1 18
Enterfor more or "q" to quit--:
22 Blocking 0 18
23 Blocking 0 18
24 Forwarding 2 12 //收敛后,处于forwarding状态
----------------------------------secondary3300 (1)---------------------
Select menu option (bridge): dis //查看备份主交换机STP状态
stpState: enabled agingTime: 1800
Time since topology change: 0 hrs 0 mins 47 seconds

推荐阅读