分享
 
 
 

MST替代PVST

王朝other·作者佚名  2008-05-19
窄屏简体版  字體: |||超大  

关于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.

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有