[理学]第11章 二层交换.pptVIP

  • 2
  • 0
  • 约8.43千字
  • 约 46页
  • 2018-03-07 发布于浙江
  • 举报
[理学]第11章 二层交换

Slide 1 of 1 Purpose: Emphasize: By default, the switch with the lowest MAC address will be the Root bridge. Note: The Catalyst switches support an instance of Spanning tree per vlan. Each vlan will use an unique mac address for Spanning tree purpose. On the Cat 1900, the address it uses for Spanning tree are the Mac address on the various ports. VLAN is discussed in the next chapter. The IEEE 802.1d spec specify for a 16 bit priority field. The Cat 1900 switch only supports the 802.1d stp. The default priority on the Cat 1900 is 32,768 in decimal or 8000 in hex, the midrange value. BPDU contain the following fields: Protocol ID version Message type Flags Root ID Cost of path Bridge ID Port ID Message age Max age Hello time Forward delay BPDU分两种类型: 1、配置BPDU--通常由根网桥以周期性间隔发出,包括了STP参数,用于进行各种选举。 2、TCN(topology change notification 拓扑变更通告)BPDU--这种BPDU是当交换机检测到拓扑发生变更时所产生。 交接机 Y 缺省的优先级 32768 MAC 0c0022222222 交换机 X 缺省的优先级 32768 MAC 0c0011111111 Root bridge x 端口 0 端口1 端口0 端口1 100baseT 10baseT 指定端口(F) 根端口 (F) 非指定端口(B) 指定端口(F) 根端口、指定端口的选择 根端口比较:端口到达根桥所花代价最小+桥ID最小+发送方端口优先级最小(默认128)+发送方端口ID最小 指定端口比较:端口到达根桥所花代价最小+桥ID最小+发送方端口优先级最小(默认128)+发送方端口ID最小 端口状态:根端口RP和指定端口DP一般处于Forwarding状态,非指定端口NDP一般处于Blocking状态 STP下常见链路的代价 链路速度(bit/s) 代价 10G 2 1G 4 100M 19 10M 100 交换机Y MAC 0c0022222222 缺省的优先级 32768 交换机X MAC 0c0011111111 缺省的优先级 32768 端口0 端口1 端口 0 端口1 交换机 Z Mac 0c0011110000 缺省的优先级 32768 端口 0 请指出: 根桥? 根端口、指定端口、阻塞端口? 100baseT 100baseT 生成树练习题 端口 0 100baseT 100baseT 指定端口(F) 根端口 (F) 非指定端口 (B) 指定端口 (F) 根端口 (F) 生成树练习题答案 交换机Y MAC 0c0022222222 缺省的优先级 32768 交换机X MAC 0c0011111111 缺省的优先级 32768 端口0 端口1 端口 0 端口1 交换机 Z Mac 0c0011110000 缺省的优先级 32768 x 交换机Y MAC 0c0022222222 缺省优先级 32768 交换机 X MAC 0c0011111111 缺省优先级 32768 端口 0 端口 1 端口 0 端口1 10baseT x 100baseT Root Bridge 指派端口 根端口 (F) 非指派端口(阻塞) 指派端口 BPDU x MAXAGE x 生成树重新生成 交换机X断开后,交换机Y在最多20秒后会发现从交换机X来的 BPDU信号消失,于是重新计算STP。 网络恢复后,Switch Y将会是根桥,而且它的所有端口都会处于转发状态(都成为了指定端口) 阻 塞 Blocking 侦 听 Listening 学 习 Learning 转

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档