当前位置:网站首页>常见STP生成树调整命令
常见STP生成树调整命令
2022-08-03 08:50:00 【孤城286】
1.1 接口下命令
sw3(config-if)#spanning-tree cost 39 //修改接口cost值
sw3(config-if)#spanning-tree port-priority 128 //修改接口port-id优先级,默认就是128
1.2 全局配置
sw3(config)#spanning-tree vlan 100 priority 32768 //在VLAN100里面修改BPDU中的BID的优先级,默认就是32768
sw3(config)#spanning-tree vlan 100 max-age 20 //在VLAN100里面修改BPDU的最大老化时间,默认20秒
sw3(config)#spanning-tree vlan 100 hello-time 2 //在VLAN100里面修改BPDU的发送间隔时间,默认2秒
sw3(config)#spanning-tree vlan 100 forward-time 15 //在VLAN100里面修改STP的转发延迟时间,默认15秒
sw3(config)#spanning-tree vlan 100 root primary
#spanning-tree vlan 200 root secondary
SW3交换机是VLAN100的主根桥,VLAN200的备份根桥边栏推荐
猜你喜欢

How does Mysql query two data tables for the same fields in two tables at the same time

0day_Topsec上网行为管理RCE

内存模型之可见性

NFT到底有哪些实际用途?

dflow入门3——dpdispatcher插件

浅析什么是伪类和伪元素?伪类和伪元素的区别解析

图解Kernel Device Tree(设备树)的使用

Exception: Dataset not found. Solution

Redis cluster concept and construction

English Grammar - Adverbial Clauses
随机推荐
MySQL2
内存模型之可见性
Unity关于编辑器扩展自定义标签,方便扩展Inspector
机器学习(公式推导与代码实现)--sklearn机器学习库
"Swordsman Offer" brush questions print from 1 to the largest n digits
Docker starts mysql
【愚公系列】2022年07月 Go教学课程 026-结构体
LINGO 18.0 software installation package download and installation tutorial
pytorch one-hot tips
word之个人设置
MySQL-DDL数据定义语言-约束
内存模型之有序性
牛客 - 鼠标的天选(字符串哈希)
xtrabackup
HCIP练习(OSPF)
Redis集群概念与搭建
What are pseudo-classes and pseudo-elements?The difference between pseudo-classes and pseudo-elements
English Grammar - Adverbial Clauses
机器学习(公式推导与代码实现)--sklearn机器学习库
ArcEngine (5) use the ICommand interface to achieve zoom in and zoom out