频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

MST替代PVST

来源: 作者: 出处:巧巧读书 2006-10-23 进入讨论组

  关于pvst或者pvst+技术的讨论核心是:为了每个vlan生成一个spanning-tree,是否有必要。每2秒钟一个bpdu包,会不会对交换机形成巨大的压力。
  解决方案是采用新的mst,其实就是建立2颗spanning-tree,每组里面放1半的vlan,然后建立桥优先级互相备份。
  
  配置参考:
  Configuring MST
  This section provides the commands you will need in order to set up the basic configuration of MST on your Catalyst 4000, 6000, or 6500 series switch. Commands and explanations for tuning MST follow the basic configuration section.
  
  Basic Configuration
  Follow these steps:
  
  Enable MST on the switch.
  
  Use the set spantree mode mst command to set the spanning tree mode on the switch to MST.
  
  Note: To disable MST, another spanning tree protocol, such as PVST+, must be configured.
  
  Define the VLAN-to-instance mappings.
  
  Use the set spantree MST instance vlan vlans command to map VLANs to an instance. For example, you would enter the command set spantree MST 10 vlan 1-10,20 to put VLANs 1 to 10 and 20 into instance 10. By default, all VLANs are mapped to instance 0.
  
  Note: Mapping a VLAN to an instance does not take affect until the configuration is committed.
  
  Define the MST configuration name and revision.
  
  Use the set spantree MST configuration name name and the set spantree MST configuration revision revision number commands to set the configuration and the revision.
  
  Note: Instances 1 to 15 only operate within the MST region. On the boundary of the MST region, MST copies the port state from the IST, which communicates with the other spanning tree protocols such as PVST+, CST, and other MST regions to form a loop-free topology. MST-enabled switches only form an MST region if they have a matching VLAN-to-IST mapping, MST configuration name, and MST revision. If any of these three fails, the port will be flagged as a boundary port.
  
  Commit the MST configuration to apply it on the switch.
  
  Use the set spantree MST config commit command to commit the MST configuration.
  
  Note: If you find that you need to discard all edits made since the last commit, you can use the set spantree MST rollback command to undo all edits. If you need to clear changes to the MST configuration made by someone else using another session, use the set spantree MST rollback force command.
  
  Tuning MST
  Use the following commands to tune MST on your Catalyst switch.
  
  Setting Priority Per MST Instance
  Because every instance in MST runs independently of the other instances on the switch, every instance can have a different priority on the switch and possibly a different root in the MST region.
  
  To set the priority of a spantree in an instance, use the set spantree priority priority MST instance command.
  
  Setting Path Costs on a Specific Port
  For every port, MST can use either the standard cost for the port or it can assign a different cost using the set spantree portinstancecost mod/port cost cost MST instance command. You can use this command to specify the alternative path cost for the link being used and to specify which instances will use this alternative path cost.
  
  Setting Port Priority on a Specific Port
  For every port, MST can use either the standard priority for the port or it can assign a different priority with the set spantree portinstancepriority mod/port priority MST instance command. You can use this command to specify an alternative priority for a port and to specify which instance will use the alternative priority.
  
  Setting the Link Type on a Port
  Using the set spantree MST link-type mod/port link-type command, you can configure the link type in any of the following three ways.
  
  Auto - The switch will autodetect the link type for MST.
  
  Point-to-point - The link is a point-to-point link to another device. For example, you could have a 10 Gigabit link to another Catalyst switch.
  
  Shared - The link is a shared segment and can contain more than one device. An example of such a link would be a 10 Mb hub.
  
  Verifying MST Operation
  This section provides commands you can use to confirm your configuration is working properly. Examples of output from these commands are explained in the Troubleshooting section.
  
  Certain show commands are supported by the Output Interpreter, which allows you to view an analysis of show command output.
  
  show spantree MST instance active - Use this command to see the MST information on an instance. The addition of the keyword "active" shows only the active ports in the chosen instance.
  
  Show spantree MST mod/port - This command shows you information on the spanning tree state for a specified port when running MST.
  
  show spantree MST configuration - Use this command to see information about the MST configuration on the switch.
  
  Show spantree summary MST - This command provides a quick overview of the MST operation.
  
  Show spantree statistics MST mod/port instance - Use this command to see statistics and other information regarding MST operation on the chosen port.专题:http://www.qqread.com/net-knowledge/z269906.html进入讨论组讨论。
更多专题 【深 度 阅 读】 相 关 文 章
收藏此文】【 】【打印】【关闭
较早的文章:启动万兆以太网

较新的文章:端口映射轻松设
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
最新论坛文章
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章