- 积分
- 276
- 鸿鹄币
- 个
- 好评度
- 点
- 精华
- 最后登录
- 1970-1-1
- 阅读权限
- 30
- 听众
- 收听
初级工程师
  
|
发表于 2016-7-11 06:01:31
|
显示全部楼层
个人感觉选C3 s) v; S; m1 ~( m
6 H% K7 o. |5 ?' R: Q" K( Z
拿RSTP BPDU和MSTP BPDU的格式拿来比较一下就知道了。MSTP报文前面部分和RSTP格式完全兼容(除了版本号不同),MST的信息都以TLV的形式附加在原报文后。: B c1 N- v' u9 H
3 l/ q3 m" ^+ B6 }
下面这个链接有解释
8 U: t' I8 [: ]# s1 B* x% F. ghttp://blog.ine.com/2010/02/22/understanding-mstp/, C0 S6 n3 p1 }8 q2 h/ q l/ e
8 F' S+ d& ~/ R' t+ H0 D# G摘录如下:
0 W3 e/ E8 ?# c6 i* B8 ]; f( y% c4 Q
The IEEE 802.1s implementation does not send BDPUs for every active STP instance separately, nor does it encapsulate VLAN numbers list configuration messages. Instead, a special STP instance number 0 called Internal Spanning Tree (IST aka MSTI0, Multiple Spanning Tree Instance 0) is designated to carry all STP-related information. The BPDUs for IST contain all standard RSTP-style information for the IST itself, as well as carry additional informational fields. Among those fields are configuration name, revision number and a hash value calculated over VLANs to MSTI mapping table contents. Using just this condensed information switches may detect mis-configuration in VLAN mappings by comparing the hash value received from the peer with the local value.7 o1 o; r& H" h$ z( z: j
$ z m/ K% t# q) hM-Records
/ l+ ?) j$ n& R6 H% Q# Q; F# A/ Y" X6 `4 ~0 \1 I: X
By default, all VLANs are mapped to the IST. This represents the case of classic IEEE RSTP with all VLANs sharing the same spanning-tree. Other MSTP instances could be enabled, and they are referred to as Multiple Spanning Tree Instances (MSTIs). Every MSTI assign its own priorities to the switches and use its own link costs to come up with a private logical topology, separate from the IST. Since MSTP does not send MSTI’s information in separate BPDUs, this information is piggybacked into the IST’s BPDUs using special M-Record fields (one for every active MSTI). Using TLV’s (Type-Length-Value) those fields carry root priority, designated bridge priority, port priority and root path cost among others.. H. j; B# k# e$ d
|
沙发
2016-7-11 06:01:31
回复(0)
收起回复
|