交换机生成树协议STP的配置命令

更新时间:2023-06-10 01:00:06 阅读: 评论:0

交换机⽣成树协议STP的配置命令》打开或关闭STP
Catalyst 3548(Csico IOS系统)
命令格式:spanning-treevlan <vlan>                    //启⽤STP
nospanning-tree vlan <vlan>            // 关闭STP
Switch-PHY-3548(config)#spanning-tree vlan 3
Switch-PHY-3548(config)#no spanning-tree vlan 3
超级恐怖Switch-PHY-3548(config)#
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:t spantree enable                        //启⽤STP
t spantree disable                      //关闭STP
Switch-PHY-6500>(enable)t spantree enable 3
VLAN 3 bridgespanning tree enabled
Switch-PHY-6500>(enable)
Switch-PHY-6500>(enable)t spantree disable 3
VLAN 3 bridgespanning tree disable
Switch-PHY-6500>(enable)
》配置根⽹桥和备份根⽹桥
Catalyst 3548(Csico IOS系统)
命令格式:spanning-treevlan <vlans> root primary      //设置主ROOT(primaryroot)Switch-PHY-3548(config)#spanning-tree vlan 3 root primary
Switch-PHY-3548(config)#
命令格式:spanning-treevlan <vlans> root condary    //设置备份ROOT(cond root)Switch-PHY-3548(config)#spanning-tree vlan 3 root condary
Switch-PHY-3548(config)#
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:tspantree root <vlans>                //设置主ROOT
Switch-PHY-6500>(enable)t spantree root 1,200-204
VLANS1,200-204 bridge priority t to 8189.
VLANS1,200-204 bridge max aging time t to 20.
VLANS1,200-204 bridge hello time t to 2.
VLANS1,200-204 bridge forward delay t to 15.
Switch isnow the root switch for active VLANS 1,200-204.
Switch-PHY-6500>(enable)
命令格式:tspantree root condary <vlans>        //设置备份ROOT
Switch-PHY-6500>(enable)t spantree root condary 1,200-204
VLANS1,200-204 bridge priority t to 8189.
VLANS1,200-204 bridge max aging time t to 20.
VLANS1,200-204 bridge hello time t to 2.
VLANS 1,200-204 bridge forward delay t to15.
Switch isnow the root switch for active VLANS 1,200-204.
Switch-PHY-6500>(enable)
》配置⽣成树优先级(取值范围是0-61440,增量是4096)
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:spanning-treevlan <vlans> priority <0-61440>世界四大文明古国
Switch-PHY-3548(config)#spanning-treevlan 3 priority 8192
羽绒服怎么洗好
Switch-PHY-3548(config)#
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:tspantree priority <priority>
Switch-PHY-6500>(enable)t spantree priority 8192
spantree bridgepriority t to 8192.
Switch-PHY-6500>(enable)
》配置BackboneFast⽣成树可选功能
Catalyst 6500(Catalyst OS(CatOS)系统)
海南省简称命令格式:spanning-treebackbonefast                    //允许backbonefast功能Switch-PHY-3548(config)#spanning-tree backbonefast
Switch-PHY-3548(config)#
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:tspantree backbonefast enable              //允许backbonefast功能
命令格式:tspantree backbonefast disable              //不允许backbonefast功能Switch-PHY-6500>(enable)t spantree backbonefast enable
下颚骨错位Switch-PHY-6500>(enable)
大唐西域记》配置UplinkFast⽣成树可选功能
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:spanning-treeuplinkfast <cr>
spanning-tree uplinkfast max-update-rate <0-32000> <cr>
//注:max-update-rate的值是0-32000,单位是packet/s(每秒更新的包数)
Switch-PHY-3548(config)#spanning-tree uplinkfast 32000
Switch-PHY-3548(config)#spanning-tree uplinkfast
Switch-PHY-3548(config)#
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:tspantree uplinkfast enable <cr>
tspantree uplinkfast enable rate <station_update_rate> <cr>
//注:<station_update_rate>的缺省值是15packets/100ms,单位是packet/ms.
Switch-PHY-6500>(enable)t spantree uplinkfastenable
VLANs 1-1005bridge priorityt to 49152.
The port costand portvlancost of all ports t to above 3000.
Station update rate t to 15 packets/100ms,
Uplinkfast all-portocols field t to off.
你的名字台词
Uplinkfastenable for bridge.
Switch-PHY-6500>(enable)
Switch-PHY-6500>(enable)t spantreeuplinkfast enable rate 40
VLANs 1-4096bridge priorityt to 49152.
中国画The port costand portvlancost of all ports t to above 3000.
Station update rate t to 40 packets/100ms,
Uplinkfast all-portocols field t to off.
Uplinkfastenable for bridge.
Switch-PHY-6500>(enable)
》配置PortFast⽣成树可选功能
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:spanning-treeportfast default
Switch-PHY-3548(config)#spanning-tree portfast default
Switch-PHY-3548(config)#
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:tspantree portfast <mod/port> enable      //打开portfast
tspantree portfast <mod/port> disable      //关闭portfast
tspantree portfast <mod/port> default      //缺省启⽤portfast
Switch-PHY-6500>(enable)t spantree portfast3/2 enable
Warning:Connecting Layer 2 devices to a fast start port can cau
temporaryspanning tree loops.U with caution.
Spantree ports3/2fast start enabled
Switch-PHY-6500>(enable)t spantree portfast 4/1-24 enable
Warning:Connecting Layer 2 devices to a fast start port can cau
temporaryspanning tree loops.U with caution.
Spantree ports3/2fast start enabled
Switch-PHY-6500>(enable)
》配置BPDUFilter⽣成树可选功能
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:spanning-treeportfast bpdufilter default <cr>
Switch-PHY-3548(config)#spanning-tree portfast bpdufilter default
Switch-PHY-3548(config)#
Catalyst 6500(Catalyst OS(CatOS)系统)
命令格式:tspantree portfast bpdu-filter enable<cr>    //所有端⼝启⽤bpdu-filter
tspantree portfast bpdu-filter disable<cr>              //关闭bpdu-filter
tspantree portfast bpdu-filter <mod/port> enable <cr>  //打开bpdu-filter
tspantree portfast bpdu-filter <mod/port> disable <cr>  // 关闭bpdu-filter
tspantree portfast bpdu-filter <mod/port>default <cr>  //设置为缺省
Switch-PHY-6500>(enable)t spantree portfastbpdu-filter enable
Switch-PHY-6500>(enable)t spantree portfast bpdu-filter 3/1-24 enable
Warning:Portnabled with bpdu filter will not nd BPDUs and drop all received
BPDUs.You may cau loops in the bridge network if youmisu this feature.
Switch-PHY-6500>(enable)

本文发布于:2023-06-10 01:00:06,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/915501.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:命令   成树   格式   配置   设置
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图